From 1d2ce9c213093c91b86ba6c28537ccda4469fe1f Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Tue, 15 Jan 2019 19:40:53 +0100 Subject: tests: Increase timeout in Mount() function. This avoids sporadic test failures on macOS. --- tests/test_helpers/mount_unmount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_helpers/mount_unmount.go b/tests/test_helpers/mount_unmount.go index 20b1143..5e5b6f3 100644 --- a/tests/test_helpers/mount_unmount.go +++ b/tests/test_helpers/mount_unmount.go @@ -83,7 +83,7 @@ func Mount(c string, p string, showOutput bool, extraArgs ...string) error { return err case <-chanUsr1: // noop - case <-time.After(1 * time.Second): + case <-time.After(2 * time.Second): log.Panicf("Timeout waiting for process %d", pid) } -- cgit v1.2.3