Skip to content

Commit

Permalink
check AW status instead of jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
asm582 authored and openshift-ci[bot] committed Oct 11, 2023
1 parent 951b718 commit 93618fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/perf-test/perf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ check_kubectl_login_status
# Track whether you have the MCAD controller installed
echo "Checking MCAD Controller installation status"
echo
check_mcad_installed_status
#check_mcad_installed_status

echo
read -p "How many appwrapper jobs do you want?" jobs
Expand Down Expand Up @@ -114,7 +114,7 @@ done
esac

# Check for all jobs to report complete
jobstatus=`kubectl get jobs -n default --no-headers --field-selector status.successful=1 |wc -l`
jobstatus=`kubectl get appwrappers -n default --no-headers --field-selector status.successful=1 |wc -l`

while [ $jobstatus -lt $jobs ]
do
Expand Down

0 comments on commit 93618fc

Please sign in to comment.