This is an automated email from the ASF dual-hosted git repository.

davidzollo pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 449db4ef4b [Test][E2E] Retry Couchbase container startup and capture 
server logs (#11845)
449db4ef4b is described below

commit 449db4ef4b95ab00cfbba809a897f8b8171bb738
Author: Daniel <[email protected]>
AuthorDate: Tue Aug 18 13:44:39 2026 +0800

    [Test][E2E] Retry Couchbase container startup and capture server logs 
(#11845)
---
 .../seatunnel/e2e/connector/couchbase/CouchbaseIT.java     | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git 
a/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-couchbase-e2e/src/test/java/org/apache/seatunnel/e2e/connector/couchbase/CouchbaseIT.java
 
b/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-couchbase-e2e/src/test/java/org/apache/seatunnel/e2e/connector/couchbase/CouchbaseIT.java
index 2a1e11447b..bdf5bb6dd8 100644
--- 
a/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-couchbase-e2e/src/test/java/org/apache/seatunnel/e2e/connector/couchbase/CouchbaseIT.java
+++ 
b/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-couchbase-e2e/src/test/java/org/apache/seatunnel/e2e/connector/couchbase/CouchbaseIT.java
@@ -28,6 +28,7 @@ import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.TestTemplate;
 import org.testcontainers.containers.Container;
+import org.testcontainers.containers.output.Slf4jLogConsumer;
 import org.testcontainers.couchbase.BucketDefinition;
 import org.testcontainers.couchbase.CouchbaseContainer;
 import org.testcontainers.couchbase.CouchbaseService;
@@ -95,7 +96,18 @@ public class CouchbaseIT extends TestSuiteBase implements 
TestResource {
                         // that point, causing a Connection reset / unexpected 
end of stream error.
                         // A 3-minute startup timeout gives the 
HttpWaitStrategy enough retry
                         // budget to ride out the transient unavailability 
window.
-                        .withStartupTimeout(Duration.ofMinutes(3));
+                        .withStartupTimeout(Duration.ofMinutes(3))
+                        // The startup timeout above only governs the wait 
strategy; the
+                        // containerIsStarting REST bootstrap has no retry of 
its own, and its
+                        // Connection reset failures kept killing the single 
default start attempt
+                        // on CI (seen repeatedly on ubuntu-latest since 
2026-08-15, including on
+                        // apache/dev push builds). Whole-container retries 
cover that window with
+                        // a fresh server each attempt.
+                        .withStartupAttempts(3)
+                        // Surface the server's own stdout/stderr in the CI 
job log; without it a
+                        // bootstrap failure only shows the client-side socket 
error and gives no
+                        // way to see why the couchbase daemon dropped the 
connection.
+                        .withLogConsumer(new 
Slf4jLogConsumer(log).withPrefix("couchbase-server"));
         couchbaseContainer.start();
 
         cluster =

Reply via email to