Skip to content

Commit

Permalink
qemu: Reduce check duration
Browse files Browse the repository at this point in the history
The default was 2 seconds. This seems to speed up the integration tests.

Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
  • Loading branch information
rjoleary committed Oct 3, 2018
1 parent ba8b8ba commit 5a6a12f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/qemu/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ func (q *QEMU) Start() error {
return errors.New("QEMU already started")
}
var err error
q.gExpect, _, err = expect.SpawnWithArgs(q.CmdLine(), -1, expect.Tee(q.SerialOutput))
q.gExpect, _, err = expect.SpawnWithArgs(q.CmdLine(), -1,
expect.Tee(q.SerialOutput),
expect.CheckDuration(2*time.Millisecond))
return err
}

Expand Down

0 comments on commit 5a6a12f

Please sign in to comment.