gyfora commented on a change in pull request #133:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/133#discussion_r838302558



##########
File path: e2e-tests/test_last_state_upgrade.sh
##########
@@ -44,6 +44,17 @@ function wait_for_jobmanager_running() {
     wait_for_logs $jm_pod_name "Rest endpoint listening at" ${TIMEOUT} || exit 
1
 }
 
+function assert_available_slots() {
+  expected=$1
+  ip=$(minikube ip)
+  actual=$(curl http://$ip/default/${CLUSTER_ID}/overview 2>/dev/null | grep 
-E -o '"slots-available":[0-9]+' | awk -F':' '{print $2}')

Review comment:
       yep




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to