You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by se...@apache.org on 2020/09/25 12:47:13 UTC
[bigtop] branch master updated: BIGTOP-3415. Extend timeout for
Spark smoke test. (#680)
This is an automated email from the ASF dual-hosted git repository.
sekikn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new 3b361b4 BIGTOP-3415. Extend timeout for Spark smoke test. (#680)
3b361b4 is described below
commit 3b361b43766f407c7d794a0311b57c82e322c147
Author: Kengo Seki <se...@apache.org>
AuthorDate: Fri Sep 25 21:47:03 2020 +0900
BIGTOP-3415. Extend timeout for Spark smoke test. (#680)
---
bigtop-tests/smoke-tests/spark/TestSpark.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bigtop-tests/smoke-tests/spark/TestSpark.groovy b/bigtop-tests/smoke-tests/spark/TestSpark.groovy
index a0e7a40..c2327ce 100644
--- a/bigtop-tests/smoke-tests/spark/TestSpark.groovy
+++ b/bigtop-tests/smoke-tests/spark/TestSpark.groovy
@@ -83,7 +83,7 @@ class TestSpark {
final String SPARK_SHELL = SPARK_HOME + "/bin/spark-shell --master $masterMode"
// Let's use time, 'cause the test has one job
- sh.exec("timeout 120 " + SPARK_SHELL +
+ sh.exec("timeout 300 " + SPARK_SHELL +
" --class org.apache.spark.examples.sql.JavaSparkSQLExample " +
" --jars " + SPARK_HOME + "/examples/jars/spark-examples*.jar > " +
TEST_SPARKSQL_LOG + " 2>&1")
@@ -108,7 +108,7 @@ class TestSpark {
}
final String SPARK_SUBMIT = SPARK_HOME + "/bin/spark-submit --master $masterMode"
- sh.exec("timeout 120 " + SPARK_SUBMIT + " /tmp/dataframe.R > " + TEST_SPARKR_LOG + " 2>&1")
+ sh.exec("timeout 300 " + SPARK_SUBMIT + " /tmp/dataframe.R > " + TEST_SPARKR_LOG + " 2>&1")
logError(sh)
assertTrue("Failed to execute SparkR script", sh.getRet() == 0);
}