Skip to content

Commit

Permalink
fix: kind test runner does not properly clean up prior log aggregator…
Browse files Browse the repository at this point in the history
… deployments
  • Loading branch information
starpit committed Aug 27, 2022
1 parent 4444305 commit b541450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/kind/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function cleanup_ray {
local profile=$(basename $profileFull)
export MWPROFILES_PATH="$MWPROFILES_PATH_BASE"/$variant

echo "[Test] Undeploying any prior ray cluster"
echo "[Test] Undeploying any prior ray cluster with variant=$variant profile=$profile"
(GUIDEBOOK_NAME="ray-undeploy" "$ROOT"/bin/codeflare -p $profile -y ml/ray/stop/kubernetes \
|| exit 0)
}
Expand All @@ -102,7 +102,7 @@ function cleanup_log_aggregator {
export MWPROFILES_PATH="$MWPROFILES_PATH_BASE"/$variant

echo "[Test] Undeploying any prior ray cluster"
(GUIDEBOOK_NAME="ray-undeploy" "$ROOT"/bin/codeflare -p $profile -y ml/ray/stop/kubernetes \
(GUIDEBOOK_NAME="ray-undeploy" "$ROOT"/bin/codeflare -p $profile -y ml/ray/aggregator/in-cluster/client-side/undeploy \
|| exit 0)
}

Expand Down

0 comments on commit b541450

Please sign in to comment.