Skip to content

Commit

Permalink
Retry flakey integration tests (#97)
Browse files Browse the repository at this point in the history
As per, pulumi/pulumi-aws-native#1186 we're
seeing intermittent errors in the creation of
`aws-native:ec2:SubnetRouteTableAssociation` This change enables retries
for the affected tests to reduce the noise until we have an upstream fix

Fixes #96
  • Loading branch information
mjeffryes authored Nov 28, 2023
1 parent 751b707 commit bce6cd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/examples_nodejs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func TestALB(t *testing.T) {
With(integration.ProgramTestOptions{
Dir: filepath.Join(getCwd(t), "alb"),
NoParallel: true, // Resources may collide with TestFargate
RetryFailedSteps: true, // Workaround for https://github.com/pulumi/pulumi-aws-native/issues/1186
})

integration.ProgramTest(t, &test)
Expand All @@ -73,6 +74,7 @@ func TestFargate(t *testing.T) {
With(integration.ProgramTestOptions{
Dir: filepath.Join(getCwd(t), "fargate"),
NoParallel: true,
RetryFailedSteps: true, // Workaround for https://github.com/pulumi/pulumi-aws-native/issues/1186
})

integration.ProgramTest(t, &test)
Expand Down

0 comments on commit bce6cd1

Please sign in to comment.