[hotfix][tests] Properly disable JoinCancelingITCase
Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/f0a6ff76 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/f0a6ff76 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/f0a6ff76 Branch: refs/heads/master Commit: f0a6ff76b732eb9fac6f204525080d04dcd8d8ea Parents: 20bda91 Author: zentol <ches...@apache.org> Authored: Wed Feb 28 13:43:42 2018 +0100 Committer: zentol <ches...@apache.org> Committed: Wed Apr 4 08:59:05 2018 +0200 ---------------------------------------------------------------------- .../test/cancelling/JoinCancelingITCase.java | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/f0a6ff76/flink-tests/src/test/java/org/apache/flink/test/cancelling/JoinCancelingITCase.java ---------------------------------------------------------------------- diff --git a/flink-tests/src/test/java/org/apache/flink/test/cancelling/JoinCancelingITCase.java b/flink-tests/src/test/java/org/apache/flink/test/cancelling/JoinCancelingITCase.java index 66919e7..7288ba5 100644 --- a/flink-tests/src/test/java/org/apache/flink/test/cancelling/JoinCancelingITCase.java +++ b/flink-tests/src/test/java/org/apache/flink/test/cancelling/JoinCancelingITCase.java @@ -30,9 +30,13 @@ import org.apache.flink.runtime.operators.testutils.UniformIntTupleGenerator; import org.apache.flink.test.util.InfiniteIntegerTupleInputFormat; import org.apache.flink.test.util.UniformIntTupleGeneratorInputFormat; +import org.junit.Ignore; +import org.junit.Test; + /** * Test job cancellation from within a JoinFunction. */ +@Ignore("Takes too long.") public class JoinCancelingITCase extends CancelingTestBase { // --------------- Test Sort Matches that are canceled while still reading / sorting ----------------- @@ -56,17 +60,17 @@ public class JoinCancelingITCase extends CancelingTestBase { runAndCancelJob(env.createProgramPlan(), 5 * 1000, 10 * 1000); } -// @Test + @Test public void testCancelSortMatchWhileReadingSlowInputs() throws Exception { executeTask(new SimpleMatcher<Integer>(), true); } -// @Test + @Test public void testCancelSortMatchWhileReadingFastInputs() throws Exception { executeTask(new SimpleMatcher<Integer>(), false); } -// @Test + @Test public void testCancelSortMatchPriorToFirstRecordReading() throws Exception { executeTask(new StuckInOpenMatcher<Integer>(), false); } @@ -90,26 +94,26 @@ public class JoinCancelingITCase extends CancelingTestBase { runAndCancelJob(env.createProgramPlan(), msecsTillCanceling, maxTimeTillCanceled); } -// @Test + @Test public void testCancelSortMatchWhileDoingHeavySorting() throws Exception { executeTaskWithGenerator(new SimpleMatcher<Integer>(), 50000, 100, 30 * 1000, 30 * 1000); } // --------------- Test Sort Matches that are canceled while in the Matching Phase ----------------- -// @Test + @Test public void testCancelSortMatchWhileJoining() throws Exception { executeTaskWithGenerator(new DelayingMatcher<Integer>(), 500, 3, 10 * 1000, 20 * 1000); } -// @Test + @Test public void testCancelSortMatchWithLongCancellingResponse() throws Exception { executeTaskWithGenerator(new LongCancelTimeMatcher<Integer>(), 500, 3, 10 * 1000, 10 * 1000); } // -------------------------------------- Test System corner cases --------------------------------- -// @Test + @Test public void testCancelSortMatchWithHighparallelism() throws Exception { executeTask(new SimpleMatcher<Integer>(), false, 64); }