Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2025 from SvenDowideit/wait-a-second-between-tests
Browse files Browse the repository at this point in the history
Waiting a second between qemu tests seems to allow the network tests …
  • Loading branch information
SvenDowideit authored Aug 1, 2017
2 parents 1e2e950 + 5b00d8e commit ba4cbcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba4cbcd

Please sign in to comment.