-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-9143] fix data race in TestOrderingService...
...StreamFailure In the tests, client.Start() and client.Close() are called from different go routines without serialization. Both methods modify a connection counter. Looking closer, the connection counter is unnecessary as all references to it are in assertions that follow connWG.Wait() calls that already ensure outstanding connections have closed. Fixing by removing the unnecessary connNumber state. Change-Id: I112dcc59ff99ec7aacb29671ea6547748b03c2bf Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
- Loading branch information
Showing
2 changed files
with
4 additions
and
19 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