File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,18 @@ setup_file() {
3939 helm repo add nvidia https://helm.ngc.nvidia.com/nvidia && helm repo update
4040}
4141
42-
4342apply_check_delete_workload_imex_chan_inject () {
4443 kubectl apply -f demo/specs/imex/channel-injection.yaml
4544 kubectl wait --for=condition=READY pods imex-channel-injection --timeout=100s
4645 run kubectl logs imex-channel-injection
47- assert_output --partial " channel0"
4846 kubectl delete -f demo/specs/imex/channel-injection.yaml
47+ # Check output after attempted deletion.
48+ assert_output --partial " channel0"
49+
50+ # Wait for deletion to complete; this is critical before moving on to the next
51+ # test (as long as we don't wipe state entirely between tests).
52+ kubectl wait --for=delete pods imex-channel-injection --timeout=10s
53+ }
4954
5055log_objects () {
5156 # Never fail, but show output in case a test fails, to facilitate debugging.
You can’t perform that action at this time.
0 commit comments