aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYin Huai <yhuai@databricks.com>2015-07-31 13:45:12 -0700
committerYin Huai <yhuai@databricks.com>2015-07-31 13:45:12 -0700
commit815c8245f47e61226a04e2e02f508457b5e9e536 (patch)
tree8b7af824c639652e5450ef0743d283b1f27fbd63
parentfbef566a107b47e5fddde0ea65b8587d5039062d (diff)
downloadspark-815c8245f47e61226a04e2e02f508457b5e9e536.tar.gz
spark-815c8245f47e61226a04e2e02f508457b5e9e536.tar.bz2
spark-815c8245f47e61226a04e2e02f508457b5e9e536.zip
[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.
-rw-r--r--sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala b/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala
index 13b0c5951d..df80d04b40 100644
--- a/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala
+++ b/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala
@@ -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",
""