Skip to content

Commit

Permalink
not fail if dw object was not created (#22940)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkorikSergey authored Apr 24, 2024
1 parent 3b1d45e commit bc5a331
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/performance/load-tests/load-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,12 @@ function runTest() {
if [ $start_separately = true ]; then
namespace=$test_namespace_name$i
fi

if ! kubectl get dw $dw_name$i -n $namespace &>/dev/null; then
echo "$dw_name$i devworkspace does not exist. Moving to the next iteration."
continue
fi

if [ "$(kubectl get dw $dw_name$i -n $namespace --template='{{.status.phase}}')" == "Running" ]; then
getDwStartingTime $i $namespace &
succeeded=$((succeeded + 1))
Expand Down

0 comments on commit bc5a331

Please sign in to comment.