This repository has been archived by the owner on Jul 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ciao-launcher: Fix unit test deadlocks
The code in instance_test.go that waited for the instance loop to close down was incorrect. There was a possibility of deadlock if the instance loop was sending some stats down the overseer channel at the same time as the test was trying to shut down the instance. There is similar code in the overseer which actually shuts down the instance loop correctly. This commit simply ports the good overseer code over to instance_test.go. Partial fix for #434 Signed-off-by: Mark Ryan <[email protected]>
- Loading branch information
Mark Ryan
committed
Aug 17, 2016
1 parent
2abcb88
commit b764708
Showing
1 changed file
with
49 additions
and
43 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