spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From weichenxu...@apache.org
Subject [spark] branch branch-3.1 updated: [MINOR][ML] Increase the timeout for StreamingLinearRegressionSuite to 60s
Date Wed, 20 Jan 2021 00:28:31 GMT
This is an automated email from the ASF dual-hosted git repository.

weichenxu123 pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 32e61b0  [MINOR][ML] Increase the timeout for StreamingLinearRegressionSuite to 60s
32e61b0 is described below

commit 32e61b0a551efac0c1a471a9f8c307e2dec502db
Author: Liang Zhang <liang.zhang@databricks.com>
AuthorDate: Wed Jan 20 08:26:52 2021 +0800

    [MINOR][ML] Increase the timeout for StreamingLinearRegressionSuite to 60s
    
    ### What changes were proposed in this pull request?
    
    Increase the timeout for StreamingLinearRegressionSuite to 60s to deflake the test.
    
    ### Why are the changes needed?
    
    Reduce merge conflict.
    
    ### Does this PR introduce _any_ user-facing change?
    
    ### How was this patch tested?
    
    Closes #31248 from liangz1/increase-timeout.
    
    Authored-by: Liang Zhang <liang.zhang@databricks.com>
    Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
    (cherry picked from commit f7ff7ff0a5a251d7983d933dbe8c20882356e5bf)
    Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
---
 .../apache/spark/mllib/regression/StreamingLinearRegressionSuite.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mllib/src/test/scala/org/apache/spark/mllib/regression/StreamingLinearRegressionSuite.scala
b/mllib/src/test/scala/org/apache/spark/mllib/regression/StreamingLinearRegressionSuite.scala
index 8e2d7d1..b8342f8 100644
--- a/mllib/src/test/scala/org/apache/spark/mllib/regression/StreamingLinearRegressionSuite.scala
+++ b/mllib/src/test/scala/org/apache/spark/mllib/regression/StreamingLinearRegressionSuite.scala
@@ -31,7 +31,7 @@ class StreamingLinearRegressionSuite
   with TestSuiteBase {
 
   // use longer wait time to ensure job completion
-  override def maxWaitTimeMillis: Int = 20000
+  override def maxWaitTimeMillis: Int = 60000
 
   // Assert that two values are equal within tolerance epsilon
   def assertEqual(v1: Double, v2: Double, epsilon: Double): Unit = {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message