add small timeout to give time for mount to come up

pull/13226/head
Steven Powell 2021-12-22 11:40:01 -08:00
parent 0bc7226a6f
commit 4c24c61ef9
1 changed files with 2 additions and 0 deletions

View File

@ -168,4 +168,6 @@ func validateRestart(ctx context.Context, t *testing.T, profile string) {
if err != nil { if err != nil {
t.Fatalf("restart failed: %q : %v", rr.Command(), err) 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)
} }