forked from mit-dci/opencbdc-tx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow tcp_client::init to fail correctly
sentinel_2pc::controller::init contains a bug that makes it impossible to trigger the error "Failed to start coordinator client" (see GitHub Issue mit-dci#131). This commit fixes the bug using the method described in Issue mit-dci#131. It adds a new unit test to test triggering the error, and also modifies a different unit test to account for behavior that's expected after the bug fix. Signed-off-by: Michael L. Szulczewski <[email protected]>
- Loading branch information
1 parent
0a5635a
commit e2b351d
Showing
3 changed files
with
59 additions
and
2 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