cmd/gogio: double sleep to ensure X11 output is available

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-31 14:24:34 +01:00
parent f20c0cc0a6
commit 34bbf59efa
+1 -1
View File
@@ -162,7 +162,7 @@ func (d *X11TestDriver) Start(t_ *testing.T, path string, width, height int) (cl
// Wait for the gio app to render.
// TODO(mvdan): do this properly, e.g. via waiting for log lines
// from the gio program.
time.Sleep(200 * time.Millisecond)
time.Sleep(400 * time.Millisecond)
return cleanups
}