Skip to content

Commit f1646e1

Browse files
committed
[SPARK-7973] [SQL] Increase the timeout of two CliSuite tests.
https://issues.apache.org/jira/browse/SPARK-7973 Author: Yin Huai <[email protected]> Closes apache#6525 from yhuai/SPARK-7973 and squashes the following commits: 763b821 [Yin Huai] Also change the timeout of "Single command with -e" to 2 minutes. e598a08 [Yin Huai] Increase the timeout to 3 minutes.
1 parent 28dbde3 commit f1646e1

File tree

1 file changed

+2
-2
lines changed
  • sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver

1 file changed

+2
-2
lines changed

sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class CliSuite extends SparkFunSuite with BeforeAndAfter with Logging {
133133
}
134134

135135
test("Single command with -e") {
136-
runCliWithin(1.minute, Seq("-e", "SHOW DATABASES;"))("" -> "OK")
136+
runCliWithin(2.minute, Seq("-e", "SHOW DATABASES;"))("" -> "OK")
137137
}
138138

139139
test("Single command with --database") {
@@ -165,7 +165,7 @@ class CliSuite extends SparkFunSuite with BeforeAndAfter with Logging {
165165
val dataFilePath =
166166
Thread.currentThread().getContextClassLoader.getResource("data/files/small_kv.txt")
167167

168-
runCliWithin(1.minute, Seq("--jars", s"$jarFile"))(
168+
runCliWithin(3.minute, Seq("--jars", s"$jarFile"))(
169169
"""CREATE TABLE t1(key string, val string)
170170
|ROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe';
171171
""".stripMargin

0 commit comments

Comments
 (0)