You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by li...@apache.org on 2026/09/05 11:31:57 UTC
(seatunnel) branch stabilize-metalake-it-timeout created (now a025042dd7)
This is an automated email from the ASF dual-hosted git repository.
davidzollo pushed a change to branch stabilize-metalake-it-timeout
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
at a025042dd7 [Test][E2E] Extend Gravitino readiness timeout in MetalakeIT
This branch includes the following new commits:
new a025042dd7 [Test][E2E] Extend Gravitino readiness timeout in MetalakeIT
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(seatunnel) 01/01: [Test][E2E] Extend Gravitino readiness timeout in MetalakeIT
Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
davidzollo pushed a commit to branch stabilize-metalake-it-timeout
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
commit a025042dd7de5bc949377b5d76a8d5ed385759b4
Author: David Zollo <da...@gmail.com>
AuthorDate: Sat Sep 5 07:31:39 2026 -0400
[Test][E2E] Extend Gravitino readiness timeout in MetalakeIT
startUp() downloads and starts a Gravitino server (tarball fetch from
dlcdn.apache.org, extract, then bin/gravitino.sh start) before
polling `curl http://127.0.0.1:8090/api/metalakes` with a 180s
awaitility budget. On a loaded/slower CI runner, the download+start
sequence can occasionally exceed that budget, and curl then fails
with exit code 7 (connection refused) instead of Gravitino simply
not being ready yet - the two are indistinguishable from the
assertion's point of view, so the test flakes with
`ConditionTimeoutException: expected: <0> but was: <7> within 3 minutes`
rather than a real functional failure.
Bumped the wait to 300s to match the more generous JDBC-connection
wait later in the same method, which already anticipates this kind
of startup variance. Test-only change, no production code touched.
---
.../java/org/apache/seatunnel/connectors/seatunnel/jdbc/MetalakeIT.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-jdbc-e2e/connector-jdbc-e2e-part-7/src/test/java/org/apache/seatunnel/connectors/seatunnel/jdbc/MetalakeIT.java b/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-jdbc-e2e/connector-jdbc-e2e-part-7/src/test/java/org/apache/seatunnel/connectors/seatunnel/jdbc/MetalakeIT.java
index cf0560bf40..996a44681b 100644
--- a/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-jdbc-e2e/connector-jdbc-e2e-part-7/src/test/java/org/apache/seatunnel/connectors/seatunnel/jdbc/MetalakeIT.java
+++ b/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-jdbc-e2e/connector-jdbc-e2e-part-7/src/test/java/org/apache/seatunnel/connectors/seatunnel/jdbc/MetalakeIT.java
@@ -154,7 +154,7 @@ public class MetalakeIT extends SeaTunnelContainer {
given().ignoreExceptions()
.await()
.pollInterval(2, TimeUnit.SECONDS)
- .atMost(180, TimeUnit.SECONDS)
+ .atMost(300, TimeUnit.SECONDS)
.untilAsserted(
() -> {
Container.ExecResult result =