Skip to content

Commit

Permalink
[SPARK-9466] [SQL] Increate two timeouts in CliSuite.
Browse files Browse the repository at this point in the history
Hopefully this can resolve the flakiness of this suite.

JIRA: https://issues.apache.org/jira/browse/SPARK-9466

Author: Yin Huai <[email protected]>

Closes apache#7777 from yhuai/SPARK-9466 and squashes the following commits:

e0e3a86 [Yin Huai] Increate the timeout.
  • Loading branch information
yhuai committed Jul 31, 2015
1 parent fbef566 commit 815c824
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class CliSuite extends SparkFunSuite with BeforeAndAfter with Logging {
}

test("Single command with --database") {
runCliWithin(1.minute)(
runCliWithin(2.minute)(
"CREATE DATABASE hive_test_db;"
-> "OK",
"USE hive_test_db;"
Expand All @@ -148,7 +148,7 @@ class CliSuite extends SparkFunSuite with BeforeAndAfter with Logging {
-> "Time taken: "
)

runCliWithin(1.minute, Seq("--database", "hive_test_db", "-e", "SHOW TABLES;"))(
runCliWithin(2.minute, Seq("--database", "hive_test_db", "-e", "SHOW TABLES;"))(
""
-> "OK",
""
Expand Down

0 comments on commit 815c824

Please sign in to comment.