Skip to content

Commit

Permalink
Tweak the timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarutak committed Dec 3, 2020
1 parent 00f2354 commit 7444a08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class DB2IntegrationSuite extends DockerJDBCIntegrationSuite {
s"jdbc:db2://$ip:$port/foo:user=db2inst1;password=rootpass;retrieveMessagesFromServerOnGetMessage=true;" //scalastyle:ignore
}

override val connectionTimeout = timeout(5.minutes)
override val connectionTimeout = timeout(3.minutes)

override def dataPreparation(conn: Connection): Unit = {
conn.prepareStatement("CREATE TABLE tbl (x INTEGER, y VARCHAR(8))").executeUpdate()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class DB2KrbIntegrationSuite extends DockerKrbJDBCIntegrationSuite {
}
}

override val connectionTimeout = timeout(5.minutes)
override val connectionTimeout = timeout(3.minutes)

override protected def setAuthentication(keytabFile: String, principal: String): Unit = {
val config = new SecureConnectionProvider.JDBCConfiguration(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class DB2IntegrationSuite extends DockerJDBCIntegrationSuite with V2JDBCTest {
s"jdbc:db2://$ip:$port/foo:user=db2inst1;password=rootpass;retrieveMessagesFromServerOnGetMessage=true;" //scalastyle:ignore
}

override val connectionTimeout = timeout(5.minutes)
override val connectionTimeout = timeout(3.minutes)

override def sparkConf: SparkConf = super.sparkConf
.set("spark.sql.catalog.db2", classOf[JDBCTableCatalog].getName)
Expand Down

0 comments on commit 7444a08

Please sign in to comment.