Skip to content

Commit

Permalink
[FLINK-21400][coordination][tests] Enable tests requiring attempt counts
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Mar 12, 2021
1 parent f876eb7 commit ce6fd3e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@
import org.apache.flink.runtime.minicluster.MiniClusterConfiguration;
import org.apache.flink.streaming.api.functions.sink.filesystem.PartFileInfo;
import org.apache.flink.streaming.api.functions.sink.filesystem.rollingpolicies.CheckpointRollingPolicy;
import org.apache.flink.testutils.junit.FailsWithAdaptiveScheduler;
import org.apache.flink.util.TestLogger;

import org.junit.ClassRule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.rules.TemporaryFolder;
import org.junit.runners.Parameterized;

Expand Down Expand Up @@ -63,7 +61,6 @@ public static Collection<Object[]> params() {
}

@Test
@Category(FailsWithAdaptiveScheduler.class) // FLINK-21400
public void testFileSink() throws Exception {
String path = TEMPORARY_FOLDER.newFolder().getAbsolutePath();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@
import org.apache.flink.test.checkpointing.utils.IntType;
import org.apache.flink.test.checkpointing.utils.ValidatingSink;
import org.apache.flink.test.util.MiniClusterWithClientResource;
import org.apache.flink.testutils.junit.FailsWithAdaptiveScheduler;
import org.apache.flink.util.Collector;
import org.apache.flink.util.TestLogger;

import org.junit.ClassRule;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
Expand All @@ -55,7 +53,6 @@
* <p>This is a version of {@link EventTimeWindowCheckpointingITCase} for All-Windows.
*/
@SuppressWarnings("serial")
@Category(FailsWithAdaptiveScheduler.class) // FLINK-21400
public class EventTimeAllWindowCheckpointingITCase extends TestLogger {

private static final int PARALLELISM = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
import org.apache.flink.test.checkpointing.utils.IntType;
import org.apache.flink.test.checkpointing.utils.ValidatingSink;
import org.apache.flink.test.util.MiniClusterWithClientResource;
import org.apache.flink.testutils.junit.FailsWithAdaptiveScheduler;
import org.apache.flink.util.Collector;
import org.apache.flink.util.TestLogger;

Expand All @@ -60,7 +59,6 @@
import org.junit.ClassRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.rules.TemporaryFolder;
import org.junit.rules.TestName;
import org.junit.runner.RunWith;
Expand All @@ -87,7 +85,6 @@
*/
@SuppressWarnings("serial")
@RunWith(Parameterized.class)
@Category(FailsWithAdaptiveScheduler.class) // FLINK-21400
public class EventTimeWindowCheckpointingITCase extends TestLogger {

private static final int MAX_MEM_STATE_SIZE = 20 * 1024 * 1024;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@

import org.apache.flink.configuration.CheckpointingOptions;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.testutils.junit.FailsWithAdaptiveScheduler;
import org.apache.flink.util.TestLogger;

import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.rules.TestName;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand All @@ -48,7 +46,6 @@
* EventTimeWindowCheckpointingITCase}.
*/
@RunWith(Parameterized.class)
@Category(FailsWithAdaptiveScheduler.class) // FLINK-21400
public class LocalRecoveryITCase extends TestLogger {

@Rule public TestName testName = new TestName();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@
import org.apache.flink.test.checkpointing.utils.IntType;
import org.apache.flink.test.checkpointing.utils.ValidatingSink;
import org.apache.flink.test.util.MiniClusterWithClientResource;
import org.apache.flink.testutils.junit.FailsWithAdaptiveScheduler;
import org.apache.flink.util.Collector;
import org.apache.flink.util.TestLogger;

import org.junit.ClassRule;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import java.util.Map;

Expand All @@ -58,7 +56,6 @@
* handled correctly.
*/
@SuppressWarnings("serial")
@Category(FailsWithAdaptiveScheduler.class) // FLINK-21400
public class ProcessingTimeWindowCheckpointingITCase extends TestLogger {

private static final int PARALLELISM = 4;
Expand Down

0 comments on commit ce6fd3e

Please sign in to comment.