Skip to content
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

test(netutil): add tests for StoppableListener #936

Open
wants to merge 1 commit into
base: test_proto_add_storage_node_descriptor_validation_tests
Choose a base branch
from

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented Dec 12, 2024

What this PR does

  • Added unit tests for StoppableListener to cover various scenarios:
    • Valid and invalid addresses
    • Accepting connections after stopping
    • Successful connection acceptance
  • Improved test coverage and ensured reliability of the StoppableListener
    implementation.

@ijsong ijsong requested a review from hungryjang as a code owner December 12, 2024 09:15
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.90%. Comparing base (4e83134) to head (e5da418).

Additional details and impacted files
@@                                     Coverage Diff                                     @@
##           test_proto_add_storage_node_descriptor_validation_tests     #936      +/-   ##
===========================================================================================
- Coverage                                                    80.02%   79.90%   -0.12%     
===========================================================================================
  Files                                                          179      179              
  Lines                                                        21587    21587              
===========================================================================================
- Hits                                                         17275    17250      -25     
- Misses                                                        3529     3550      +21     
- Partials                                                       783      787       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ijsong ijsong force-pushed the test_proto_add_storage_node_descriptor_validation_tests branch from acf7b7c to 70db730 Compare December 13, 2024 01:53
@ijsong ijsong force-pushed the test_netutil_add_tests_for_stoppablelistener branch from 44c7bb6 to eeb910a Compare December 13, 2024 01:53
@ijsong ijsong force-pushed the test_proto_add_storage_node_descriptor_validation_tests branch from 70db730 to 5d84f35 Compare December 13, 2024 02:01
@ijsong ijsong force-pushed the test_netutil_add_tests_for_stoppablelistener branch from eeb910a to e097a93 Compare December 13, 2024 02:02
- Added unit tests for StoppableListener to cover various scenarios:
  - Valid and invalid addresses
  - Accepting connections after stopping
  - Successful connection acceptance
- Improved test coverage and ensured reliability of the StoppableListener
  implementation.
@ijsong ijsong force-pushed the test_proto_add_storage_node_descriptor_validation_tests branch from 5d84f35 to 4e83134 Compare January 16, 2025 04:19
@ijsong ijsong force-pushed the test_netutil_add_tests_for_stoppablelistener branch from e097a93 to e5da418 Compare January 16, 2025 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant