Skip to content
Snippets Groups Projects
Commit 815c8245 authored by Yin Huai's avatar Yin Huai
Browse files

[SPARK-9466] [SQL] Increate two timeouts in CliSuite.

Hopefully this can resolve the flakiness of this suite.

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

Author: Yin Huai <yhuai@databricks.com>

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

e0e3a86 [Yin Huai] Increate the timeout.
parent fbef566a
No related branches found
No related tags found
No related merge requests found
......@@ -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;"
......@@ -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",
""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment