You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by GitBox <gi...@apache.org> on 2022/03/30 09:00:01 UTC
[GitHub] [flink-kubernetes-operator] wangyang0918 commented on a change in pull request #133: [FLINK-26916] Remove job graph from K8s HA ConfigMaps when submitting a Flink application cluster
wangyang0918 commented on a change in pull request #133:
URL: https://github.com/apache/flink-kubernetes-operator/pull/133#discussion_r838298288
##########
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:
I do not think so. If the parallelism is configured 2, we will get 0 available slot after the job is running.
--
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: commits-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org