Skip to content

Commit 1b4ab77

Browse files
committed
test: increase default timeout from 1 to 2 minutes to prevent spurious fails in CI from slow runners
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent aca0fe0 commit 1b4ab77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ func runTestWithConfig(name string, t *testing.T, options compileopts.Options, c
454454

455455
// Build the test binary.
456456
stdout := &bytes.Buffer{}
457-
_, err = buildAndRun(pkgName, config, stdout, cmdArgs, environmentVars, time.Minute, func(cmd *exec.Cmd, result builder.BuildResult) error {
457+
_, err = buildAndRun(pkgName, config, stdout, cmdArgs, environmentVars, 2*time.Minute, func(cmd *exec.Cmd, result builder.BuildResult) error {
458458
return cmd.Run()
459459
})
460460
if err != nil {

0 commit comments

Comments
 (0)