From 4c24c61ef9c95c89295771b08ea2f5a50c6d2f50 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Wed, 22 Dec 2021 11:40:01 -0800 Subject: [PATCH] add small timeout to give time for mount to come up --- test/integration/mount_start_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/mount_start_test.go b/test/integration/mount_start_test.go index 3c359589df..1a9b518d4f 100644 --- a/test/integration/mount_start_test.go +++ b/test/integration/mount_start_test.go @@ -168,4 +168,6 @@ func validateRestart(ctx context.Context, t *testing.T, profile string) { if err != nil { t.Fatalf("restart failed: %q : %v", rr.Command(), err) } + // The mount takes a split second to come up, without this the validateMount test will fail + time.Sleep(1 * time.Second) }