1
0
mirror of https://github.com/rancher/os.git synced 2025-07-30 22:24:33 +00:00

Merge pull request #2025 from SvenDowideit/wait-a-second-between-tests

Waiting a second between qemu tests seems to allow the network tests …
This commit is contained in:
Sven Dowideit 2017-08-01 14:28:26 +10:00 committed by GitHub
commit ba4cbcd1d9

View File

@ -155,6 +155,7 @@ func (s *QemuSuite) NetCheckOutput(c *C, result string, check Checker, additiona
func (s *QemuSuite) runQemu(c *C, args ...string) error {
c.Assert(s.qemuCmd, IsNil) // can't run 2 qemu's at once (yet)
time.Sleep(time.Second)
s.qemuCmd = exec.Command(s.runCommand, args...)
if os.Getenv("DEBUG") != "" {
s.qemuCmd.Stdout = os.Stdout