-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Catch vfkit process exiting unexpectedly
This commit an a go routine which will `Wait()` for the vfkit process. When it exits, it will push the corresponding error (or nil) to a channel. The code waiting for the VM to startup can then check for errors in their select{} retry loop, and fail acccordingly. This will make debugging test failures easier, as currently if the vfkit process dies early, the test appears to be taking a very long time without any indication as to what's going on. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
- Loading branch information
Showing
2 changed files
with
44 additions
and
6 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