Skip to content

Commit f158a87

Browse files
committed
only wait for ingestion consumer group when ingestion tests are enabled
Issue: ZENKO-4286
1 parent c47e76d commit f158a87

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

+6-3
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ sleep 10
110110
kubectl wait --for condition=DeploymentFailure=false --timeout 25m -n ${NAMESPACE} zenko/${ZENKO_NAME}
111111
kubectl wait --for condition=DeploymentInProgress=false --timeout 25m -n ${NAMESPACE} zenko/${ZENKO_NAME}
112112

113-
# wait for ingestion processor to start consuming from Kafka
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
113+
114+
if [ $ENABLE_RING_TESTS = true ]; then
115+
# wait for ingestion processor to start consuming from Kafka
116+
ingestion_processor_replicas=$(kubectl -n $NAMESPACE get deploy/end2end-backbeat-ingestion-processor -o jsonpath='{.spec.replicas}')
117+
wait_for_consumer_group $NAMESPACE $UUID.backbeat-ingestion-group $ingestion_processor_replicas 300
118+
fi

0 commit comments

Comments
 (0)