From 5cba46ff9f56d15a7bd7b35fd950d6e42ae43be8 Mon Sep 17 00:00:00 2001 From: iture123 Date: Tue, 27 Sep 2022 23:15:45 +0800 Subject: [PATCH] [Feature][Connector-V2]remove checkstyle:MagicNumber(#2553) --- .../flink/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java | 1 - .../e2e/flink/v2/elasticsearch/FakeSourceToElasticsearchIT.java | 1 - .../spark/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java | 1 - .../e2e/spark/v2/elasticsearch/FakeSourceToElasticsearchIT.java | 1 - 4 files changed, 4 deletions(-) diff --git a/seatunnel-e2e/seatunnel-flink-connector-v2-e2e/connector-elasticsearch-flink-e2e/src/test/java/org/apache/seatunnel/e2e/flink/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java b/seatunnel-e2e/seatunnel-flink-connector-v2-e2e/connector-elasticsearch-flink-e2e/src/test/java/org/apache/seatunnel/e2e/flink/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java index 10e0e8c0a2b..9145273acb5 100644 --- a/seatunnel-e2e/seatunnel-flink-connector-v2-e2e/connector-elasticsearch-flink-e2e/src/test/java/org/apache/seatunnel/e2e/flink/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java +++ b/seatunnel-e2e/seatunnel-flink-connector-v2-e2e/connector-elasticsearch-flink-e2e/src/test/java/org/apache/seatunnel/e2e/flink/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java @@ -40,7 +40,6 @@ public class ElasticsearchSourceToConsoleIT extends FlinkContainer { private ElasticsearchContainer container; - @SuppressWarnings({"checkstyle:MagicNumber", "checkstyle:Indentation"}) @BeforeEach public void startElasticsearchContainer() throws InterruptedException { container = new ElasticsearchContainer(DockerImageName.parse("elasticsearch:6.8.23").asCompatibleSubstituteFor("docker.elastic.co/elasticsearch/elasticsearch")) diff --git a/seatunnel-e2e/seatunnel-flink-connector-v2-e2e/connector-elasticsearch-flink-e2e/src/test/java/org/apache/seatunnel/e2e/flink/v2/elasticsearch/FakeSourceToElasticsearchIT.java b/seatunnel-e2e/seatunnel-flink-connector-v2-e2e/connector-elasticsearch-flink-e2e/src/test/java/org/apache/seatunnel/e2e/flink/v2/elasticsearch/FakeSourceToElasticsearchIT.java index a5d864a02cf..6115c527711 100644 --- a/seatunnel-e2e/seatunnel-flink-connector-v2-e2e/connector-elasticsearch-flink-e2e/src/test/java/org/apache/seatunnel/e2e/flink/v2/elasticsearch/FakeSourceToElasticsearchIT.java +++ b/seatunnel-e2e/seatunnel-flink-connector-v2-e2e/connector-elasticsearch-flink-e2e/src/test/java/org/apache/seatunnel/e2e/flink/v2/elasticsearch/FakeSourceToElasticsearchIT.java @@ -37,7 +37,6 @@ public class FakeSourceToElasticsearchIT extends FlinkContainer { private ElasticsearchContainer container; - @SuppressWarnings({"checkstyle:MagicNumber", "checkstyle:Indentation"}) @BeforeEach public void startElasticsearchContainer() throws InterruptedException { container = new ElasticsearchContainer(DockerImageName.parse("elasticsearch:6.8.23").asCompatibleSubstituteFor("docker.elastic.co/elasticsearch/elasticsearch")).withNetwork(NETWORK).withNetworkAliases("elasticsearch").withLogConsumer(new Slf4jLogConsumer(LOGGER)); diff --git a/seatunnel-e2e/seatunnel-spark-connector-v2-e2e/connector-elasticsearch-spark-e2e/src/test/java/org/apache/seatunnel/e2e/spark/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java b/seatunnel-e2e/seatunnel-spark-connector-v2-e2e/connector-elasticsearch-spark-e2e/src/test/java/org/apache/seatunnel/e2e/spark/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java index ae541039e4c..f71c07b8d6f 100644 --- a/seatunnel-e2e/seatunnel-spark-connector-v2-e2e/connector-elasticsearch-spark-e2e/src/test/java/org/apache/seatunnel/e2e/spark/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java +++ b/seatunnel-e2e/seatunnel-spark-connector-v2-e2e/connector-elasticsearch-spark-e2e/src/test/java/org/apache/seatunnel/e2e/spark/v2/elasticsearch/ElasticsearchSourceToConsoleIT.java @@ -44,7 +44,6 @@ public class ElasticsearchSourceToConsoleIT extends SparkContainer { private ElasticsearchContainer container; - @SuppressWarnings({"checkstyle:MagicNumber", "checkstyle:Indentation"}) @BeforeEach public void startElasticsearchContainer() throws InterruptedException { container = new ElasticsearchContainer(DockerImageName.parse("elasticsearch:6.8.23").asCompatibleSubstituteFor("docker.elastic.co/elasticsearch/elasticsearch")).withNetwork(NETWORK).withNetworkAliases("elasticsearch").withLogConsumer(new Slf4jLogConsumer(LOGGER)); diff --git a/seatunnel-e2e/seatunnel-spark-connector-v2-e2e/connector-elasticsearch-spark-e2e/src/test/java/org/apache/seatunnel/e2e/spark/v2/elasticsearch/FakeSourceToElasticsearchIT.java b/seatunnel-e2e/seatunnel-spark-connector-v2-e2e/connector-elasticsearch-spark-e2e/src/test/java/org/apache/seatunnel/e2e/spark/v2/elasticsearch/FakeSourceToElasticsearchIT.java index 33aebc39441..0214b79c7c7 100644 --- a/seatunnel-e2e/seatunnel-spark-connector-v2-e2e/connector-elasticsearch-spark-e2e/src/test/java/org/apache/seatunnel/e2e/spark/v2/elasticsearch/FakeSourceToElasticsearchIT.java +++ b/seatunnel-e2e/seatunnel-spark-connector-v2-e2e/connector-elasticsearch-spark-e2e/src/test/java/org/apache/seatunnel/e2e/spark/v2/elasticsearch/FakeSourceToElasticsearchIT.java @@ -42,7 +42,6 @@ public class FakeSourceToElasticsearchIT extends SparkContainer { private ElasticsearchContainer container; - @SuppressWarnings({"checkstyle:MagicNumber", "checkstyle:Indentation"}) @BeforeEach public void startElasticsearchContainer() throws InterruptedException { container = new ElasticsearchContainer(DockerImageName.parse("elasticsearch:6.8.23").asCompatibleSubstituteFor("docker.elastic.co/elasticsearch/elasticsearch")).withNetwork(NETWORK).withNetworkAliases("elasticsearch").withLogConsumer(new Slf4jLogConsumer(LOGGER));