Skip to content

Commit 6be55fc

Browse files
committed
dynamically get the ingestion consumer group expected member count
Issue: ZENKO-4286
1 parent 9389c08 commit 6be55fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/end2end/configure-e2e.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,5 @@ kubectl wait --for condition=DeploymentFailure=false --timeout 25m -n ${NAMESPAC
111111
kubectl wait --for condition=DeploymentInProgress=false --timeout 25m -n ${NAMESPACE} zenko/${ZENKO_NAME}
112112

113113
# wait for ingestion processor to start consuming from Kafka
114-
wait_for_consumer_group $NAMESPACE $UUID.backbeat-ingestion-group 1 300
114+
ingestion_processor_replicas=$(kubectl -n $NAMESPACE get deploy/end2end-backbeat-ingestion-processor -o jsonpath='{.spec.replicas}')
115+
wait_for_consumer_group $NAMESPACE $UUID.backbeat-ingestion-group $ingestion_processor_replicas 300

0 commit comments

Comments
 (0)