Skip to content

Commit

Permalink
basic-test/undeploy should be idempotent
Browse files Browse the repository at this point in the history
Running undeploy again on an already undeployed
env should not return any "not found" errors

This change igonores such errors as the env
is already undeployed and returns success in
such scenario.

Fixes: RamenDR#923
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
  • Loading branch information
Shwetha-Acharya committed Jun 28, 2023
1 parent 79607ae commit 9ef8a9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/basic-test/undeploy
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ config = test.config

test.info("Deleting busybox example application")
kubectl.delete(
"--ignore-not-found",
f"--kustomize={config['tmp_dir']}",
context=config["hub"],
log=test.debug,
Expand Down

0 comments on commit 9ef8a9c

Please sign in to comment.