-
Notifications
You must be signed in to change notification settings - Fork 2.2k
increasing UT coverage for src/lib/address_resolve. #39507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
increasing UT coverage for src/lib/address_resolve. #39507
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
Increased unit tests coverage for src/lib/address_resolve, focusing on NodeLookupHandle timing logic and Resolver interactions. The tests are well-structured using mocks and fixtures. The OperationalNodeResolved test should initialize ResolvedNodeData with a matching PeerId and add assertions to verify state changes or listener callbacks.
src/lib/address_resolve/tests/TestAddressResolve_DefaultImpl.cpp
Outdated
Show resolved
Hide resolved
25a1719
to
4cb89cd
Compare
PR #39507: Size comparison from 6d6400a to 4cb89cd Full report (52 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
487ee15
to
50c2101
Compare
PR #39507: Size comparison from 5a270bd to 50c2101 Full report (43 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, psoc6, qpg, stm32, telink, tizen)
|
a21d86f
to
6b4bef5
Compare
src/lib/address_resolve/tests/TestAddressResolve_DefaultImpl.cpp
Outdated
Show resolved
Hide resolved
PR #39507: Size comparison from 5a270bd to 6b4bef5 Increases above 0.2%:
Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
6b4bef5
to
49abd33
Compare
PR #39507: Size comparison from 57827d7 to 9c3bf13 Full report (24 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, qpg, stm32, telink, tizen)
|
src/lib/address_resolve/tests/TestAddressResolve_DefaultImpl.cpp
Outdated
Show resolved
Hide resolved
PR #39507: Size comparison from 57827d7 to 071232b Increases above 0.2%:
Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #39507: Size comparison from b764a9d to bf10cae Full report (67 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
bf10cae
to
216eb3b
Compare
PR #39507: Size comparison from f38f1de to 216eb3b Full report (67 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
216eb3b
to
c8ab24c
Compare
PR #39507: Size comparison from 5e089d1 to c8ab24c Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
Restyled by clang-format
c4adc46
to
4854c28
Compare
PR #39507: Size comparison from 050f895 to 4854c28 Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
* increasing UT coverage for src/lib/address_resolve. * fix for OnOperationalNode[Resolved|ResolutionFailed] test. Restyled by clang-format * Test covering Resolver::ShutDown added. * unused thread & iostream headers removed. * fix for typos in TEST name. * restoring real clock before ending tests.
Testing
Increased unit tests coverage for #37237
Tests added for
src/lib/address_resolve