-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework client-pool-timer-test to avoid races
This commit reworks client-pool-timer-test (a unit test suite implemented in client/client_pool/test/client_pool_timer_test.cpp) to avoid race conditions the existing implementation contains, which mostly arose from the existing implementation relying on the timing of timeout callbacks made by the concord_client_pool::Timer being tested in ways the Timer does not really guarantee. This commit also reactivates this test suite, as it was previously deactivated due to its instability. This commit additionally adds some comments to the header file for concord_client_pool::Timer (client/client_pool/include/client_pool/client_pool_timer.hpp) to try to clarify its expected behavior.
- Loading branch information
1 parent
363cffe
commit d4a064e
Showing
3 changed files
with
180 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters