Skip to content

Commit dbb32ac

Browse files
committed
mantle/kola: decrease timeout on failure tests
All of these tests run within 15 seconds today. Let's drop the timeout to one minute, which will enable to detect failures quicker and also allow us to fallback to the new "best effort" console check in the timeout path quicker.
1 parent e9dbd2c commit dbb32ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mantle/kola/tests/ignition/qemufailure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func verifyError(builder *platform.QemuBuilder, searchPattern string) error {
106106
return err
107107
}
108108
defer inst.Destroy()
109-
ctx, cancel := context.WithTimeout(context.Background(), 4*time.Minute)
109+
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Minute)
110110

111111
defer cancel()
112112

0 commit comments

Comments
 (0)