Skip to content

Commit

Permalink
Fix IgnoreDestroyErrors typo (#1282)
Browse files Browse the repository at this point in the history
<!--Thanks for your contribution. See [CONTRIBUTING](CONTRIBUTING.md)
    for Pulumi's contribution guidelines.

    Help us merge your changes more quickly by adding more details such
    as labels, milestones, and reviewers.-->

This should help with the flaky TestAccPy test.

Fixes #1278
Fixes #1279


### Proposed changes

<!--Give us a brief description of what you've done and what it solves.
-->

### Related issues (optional)

<!--Refer to related PRs or issues: #1234, or 'Fixes #1234' or 'Closes
#1234'.
Or link to full URLs to issues or pull requests in other GitHub
repositories. -->
  • Loading branch information
t0yv0 authored Jul 30, 2024
1 parent 0df7097 commit c5fd959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ func programTestWithExtraOptions(t *testing.T, opts programTestExtraOptions) {
destroyStack := func() {
destroyErr := pt.TestLifeCycleDestroy()
if opts.IgnoreDestroyErrors {
assert.NoError(t, destroyErr)
} else {
t.Logf("IgnoreDestroyErrors: ignoring %v", destroyErr)
} else {
assert.NoError(t, destroyErr)
}
}

Expand Down

0 comments on commit c5fd959

Please sign in to comment.