Skip to content

Commit ad94a7e

Browse files
flaky: accommodate for slower CI runners in TestProvidersDefaultDisabled (#8865)
1 parent 2a60241 commit ad94a7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/pkg/composable/controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ func TestProvidersDefaultDisabled(t *testing.T) {
322322
c, err := composable.New(log, cfg, false)
323323
require.NoError(t, err)
324324

325-
ctx, cancel := context.WithCancel(context.Background())
325+
ctx, cancel := context.WithCancel(t.Context())
326326
defer cancel()
327327

328-
timeoutCtx, timeoutCancel := context.WithTimeout(ctx, 1*time.Second)
328+
timeoutCtx, timeoutCancel := context.WithTimeout(ctx, 10*time.Second)
329329
defer timeoutCancel()
330330

331331
errCh := make(chan error)

0 commit comments

Comments
 (0)