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

dongjoon pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 50c1783a1f97 [SPARK-49803][SQL][TESTS] Increase 
`spark.test.docker.connectionTimeout` to 10min
50c1783a1f97 is described below

commit 50c1783a1f97e336c8560fc03ef85ec7319672ea
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Sep 26 17:32:29 2024 -0700

    [SPARK-49803][SQL][TESTS] Increase `spark.test.docker.connectionTimeout` to 
10min
    
    This PR aims to increase `spark.test.docker.connectionTimeout` to 10min.
    
    Recently, various DB images fails at `connection` stage on multiple 
branches.
    
    **MASTER** branch
    https://github.com/apache/spark/actions/runs/11045311764/job/30682732260
    
    ```
    [info] OracleIntegrationSuite:
    [info] org.apache.spark.sql.jdbc.OracleIntegrationSuite *** ABORTED *** (5 
minutes, 17 seconds)
    [info]   The code passed to eventually never returned normally. Attempted 
298 times over 5.0045005511500005 minutes. Last failure message: ORA-12541: 
Cannot connect. No listener at host 10.1.0.41 port 41079. 
(CONNECTION_ID=n9ZWIh+nQn+G9fkwKyoBQA==)
    ```
    
    **branch-3.5** branch
    https://github.com/apache/spark/actions/runs/10939696926/job/30370552237
    
    ```
    [info] MsSqlServerNamespaceSuite:
    [info] org.apache.spark.sql.jdbc.v2.MsSqlServerNamespaceSuite *** ABORTED 
*** (5 minutes, 42 seconds)
    [info]   The code passed to eventually never returned normally. Attempted 
11 times over 5.487631282400001 minutes. Last failure message: The TCP/IP 
connection to the host 10.1.0.56, port 35345 has failed. Error: "Connection 
refused (Connection refused). Verify the connection properties. Make sure that 
an instance of SQL Server is running on the host and accepting TCP/IP 
connections at the port. Make sure that TCP connections to the port are not 
blocked by a firewall.".. (DockerJDBCInt [...]
    ```
    
    **branch-3.4** branch
    https://github.com/apache/spark/actions/runs/10937842509/job/30364658576
    
    ```
    [info] MsSqlServerNamespaceSuite:
    [info] org.apache.spark.sql.jdbc.v2.MsSqlServerNamespaceSuite *** ABORTED 
*** (5 minutes, 42 seconds)
    [info]   The code passed to eventually never returned normally. Attempted 
11 times over 5.487555645633333 minutes. Last failure message: The TCP/IP 
connection to the host 10.1.0.153, port 46153 has failed. Error: "Connection 
refused (Connection refused). Verify the connection properties. Make sure that 
an instance of SQL Server is running on the host and accepting TCP/IP 
connections at the port. Make sure that TCP connections to the port are not 
blocked by a firewall.".. (DockerJDBCIn [...]
    ```
    
    No, this is a test-only change.
    
    Pass the CIs.
    
    No.
    
    Closes #48272 from dongjoon-hyun/SPARK-49803.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 09b7aa67ce64d7d4ecc803215eaf85464df181c5)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .../scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala
 
b/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala
index 40e8cbb6546b..55142e6d8de8 100644
--- 
a/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala
+++ 
b/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala
@@ -97,7 +97,7 @@ abstract class DockerJDBCIntegrationSuite
 
   protected val dockerIp = DockerUtils.getDockerIp()
   val db: DatabaseOnDocker
-  val connectionTimeout = timeout(5.minutes)
+  val connectionTimeout = timeout(10.minutes)
   val keepContainer =
     sys.props.getOrElse("spark.test.docker.keepContainer", "false").toBoolean
   val removePulledImage =


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to