Skip to content

Commit db92bd5

Browse files
committed
Increase timeout for integration test
1 parent 7b112c4 commit db92bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/integrationtest/compile_5/recusive_include_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func TestCompileWithInfiniteMultipleIncludeRecursion(t *testing.T) {
3737
require.NoError(t, err)
3838

3939
// Time-limited test to prevent OOM
40-
ctx, cancel := context.WithTimeout(t.Context(), 10*time.Second)
40+
ctx, cancel := context.WithTimeout(t.Context(), 30*time.Second)
4141
t.Cleanup(cancel)
4242
_, _, _ = cli.RunWithContext(ctx, "compile", "-b", "arduino:avr:uno", sketch.String())
4343
require.NotErrorIs(t, ctx.Err(), context.DeadlineExceeded, "compilation should not hang")

0 commit comments

Comments
 (0)