diff --git a/samples/subprocess.go b/samples/subprocess.go index 8c1f9c0..834f257 100644 --- a/samples/subprocess.go +++ b/samples/subprocess.go @@ -23,6 +23,7 @@ import ( "os/exec" "path" "sync" + "time" "github.com/jacobsa/ogletest" "golang.org/x/net/context" @@ -151,6 +152,7 @@ func (t *SubprocessTest) initialize() (err error) { // TODO(jacobsa): Probably need some sort of signalling (on stderr? write to // a flag-controlled file?) when WaitForReady has returned. + time.Sleep(time.Second) return }