This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 21c810aed53 [InfluxDB] Wait for HTTP readiness before integration
tests (#40783)
21c810aed53 is described below
commit 21c810aed5326b91a279a97410fbe974e3118830
Author: Bruno Volpato <[email protected]>
AuthorDate: Wed Oct 28 13:58:12 2026 -0400
[InfluxDB] Wait for HTTP readiness before integration tests (#40783)
---
.github/workflows/beam_PostCommit_Java_InfluxDbIO_IT.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/beam_PostCommit_Java_InfluxDbIO_IT.yml
b/.github/workflows/beam_PostCommit_Java_InfluxDbIO_IT.yml
index 5fb510c2615..346a528c844 100644
--- a/.github/workflows/beam_PostCommit_Java_InfluxDbIO_IT.yml
+++ b/.github/workflows/beam_PostCommit_Java_InfluxDbIO_IT.yml
@@ -78,8 +78,14 @@ jobs:
run: |
kubectl apply -f ${{ github.workspace
}}/.test-infra/kubernetes/influxdb/influxdb.yml
kubectl wait --timeout 2m svc/influxdb-load-balancer-service
--for=jsonpath='{.status.loadBalancer.ingress[0].ip}'
- loadbalancer_IP=$(kubectl get svc influxdb-load-balancer-service -o
jsonpath='{.status.loadBalancer.ingress[0].ip}')
- echo influxdb_IP=$loadbalancer_IP >> $GITHUB_OUTPUT
+ loadbalancer_IP=$(kubectl get svc influxdb-load-balancer-service -o
jsonpath='{.status.loadBalancer.ingress[0].ip}')
+ influxdb_URL="http://${loadbalancer_IP}:8086"
+ echo "Waiting for InfluxDB at ${influxdb_URL}/ping"
+ curl --fail --silent --show-error \
+ --connect-timeout 5 --max-time 10 \
+ --retry 150 --retry-connrefused --retry-delay 2 --retry-max-time
300 \
+ "${influxdb_URL}/ping"
+ echo "influxdb_IP=${loadbalancer_IP}" >> "$GITHUB_OUTPUT"
- name: Run Java InfluxDbIO_IT
uses: ./.github/actions/gradle-command-self-hosted-action
with: