Skip to content

Commit

Permalink
tests: add more thorough cleanup step to ProviderUpgrade
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
  • Loading branch information
phisco committed Jan 30, 2024
1 parent 22e8ade commit 728b7d7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/e2e/pkg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,7 @@ func TestProviderUpgrade(t *testing.T) {
WithTeardown("DeleteUpgradedManagedResource", funcs.AllOf(
funcs.DeleteResources(manifests, "mr-upgrade.yaml"),
funcs.ResourcesDeletedWithin(1*time.Minute, manifests, "mr-upgrade.yaml"),
)).
WithTeardown("DeleteUpgradedProvider", funcs.AllOf(
funcs.DeleteResources(manifests, "provider-upgrade.yaml"),
funcs.ResourcesDeletedWithin(1*time.Minute, manifests, "provider-upgrade.yaml"),
)).Feature(),
)).WithTeardown("DeleteUpgradedProvider", funcs.ResourcesDeletedAfterListedAreGone(1*time.Minute, manifests, "provider-upgrade.yaml", nopList)).Feature(),
)
}

Expand Down

0 comments on commit 728b7d7

Please sign in to comment.