Skip to content

Commit

Permalink
[SPARK-7973] [SQL] Increase the timeout of two CliSuite tests.
Browse files Browse the repository at this point in the history
https://issues.apache.org/jira/browse/SPARK-7973

Author: Yin Huai <yhuai@databricks.com>

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.
  • Loading branch information
yhuai committed Jun 3, 2015
1 parent 28dbde3 commit f1646e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class CliSuite extends SparkFunSuite with BeforeAndAfter with Logging {
}

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

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

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

0 comments on commit f1646e1

Please sign in to comment.