You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2018/12/18 12:03:49 UTC

[flink] branch release-1.7 updated: [FLINK-11168][tests] Relax time-constraints for LargePlanTest

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.7
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.7 by this push:
     new 1699219  [FLINK-11168][tests] Relax time-constraints for LargePlanTest
1699219 is described below

commit 16992194bbdc649938cdf43d678341b84d9c7dd3
Author: Maximilian Michels <mx...@apache.org>
AuthorDate: Tue Dec 18 12:59:11 2018 +0100

    [FLINK-11168][tests] Relax time-constraints for LargePlanTest
    
    The test completes in 500ms on my machine. On Travis the resources are much
    more limited and it fails occasionally.
    
    The following should ensure the test does not fail anymore:
    
    - Increase test timeout to 30 seconds
    - Reduce complexity of tests by decreasing branching factor
---
 .../src/test/java/org/apache/flink/test/planning/LargePlanTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flink-tests/src/test/java/org/apache/flink/test/planning/LargePlanTest.java b/flink-tests/src/test/java/org/apache/flink/test/planning/LargePlanTest.java
index 6c30af8..9b2dbd12 100644
--- a/flink-tests/src/test/java/org/apache/flink/test/planning/LargePlanTest.java
+++ b/flink-tests/src/test/java/org/apache/flink/test/planning/LargePlanTest.java
@@ -34,9 +34,9 @@ import org.junit.Test;
  */
 public class LargePlanTest {
 
-	@Test(expected = OptimizerPlanEnvironment.ProgramAbortException.class, timeout = 15_000)
+	@Test(expected = OptimizerPlanEnvironment.ProgramAbortException.class, timeout = 30_000)
 	public void testPlanningOfLargePlan() throws Exception {
-		runProgram(new PreviewPlanEnvironment(), 10, 50);
+		runProgram(new PreviewPlanEnvironment(), 10, 20);
 	}
 
 	private static void runProgram(ExecutionEnvironment env, int depth, int width) throws Exception {