Skip to content

Commit

Permalink
reduce timeout in context cancellation propegation test for test stab…
Browse files Browse the repository at this point in the history
…ility (#1695)
  • Loading branch information
gflarity committed Sep 28, 2023
1 parent 906a8f4 commit 429cc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ func TestContainerNonExistentImage(t *testing.T) {
})

t.Run("the context cancellation is propagated to container creation", func(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 100*time.Millisecond)
defer cancel()
c, err := GenericContainer(ctx, GenericContainerRequest{
ProviderType: providerType,
Expand Down

0 comments on commit 429cc9b

Please sign in to comment.