Skip to content

Commit

Permalink
spec: Add removal of pvc in the end of spec test (#2018)
Browse files Browse the repository at this point in the history
In one of shared DB spec tests was missing removal
of pvc which was created during cnf setup.
This change adds this removal.

Closes-Bug: #2017

Signed-off-by: horecoli <[email protected]>
  • Loading branch information
horecoli authored May 14, 2024
1 parent e5c795c commit 1464801
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/workload/microservice_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ describe "Microservice" do
ensure
result = ShellCmd.run_testsuite("cnf_cleanup cnf-path=sample-cnfs/ndn-multi-db-connections-fail/cnf-testsuite.yml")
result[:status].success?.should be_true
KubectlClient::Delete.command("pvc data-test-mariadb-0 -n wordpress")
end
end

Expand Down

0 comments on commit 1464801

Please sign in to comment.