Skip to content

Commit 0de77f4

Browse files
committed
[ci][hotfix] Enable parallel execution for pipeline-e2e tests
1 parent 8e576aa commit 0de77f4

File tree

2 files changed

+34
-4
lines changed

2 files changed

+34
-4
lines changed

flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/pom.xml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ limitations under the License.
8383
<version>${project.version}</version>
8484
<type>test-jar</type>
8585
<scope>test</scope>
86+
<exclusions>
87+
<exclusion>
88+
<artifactId>reload4j</artifactId>
89+
<groupId>ch.qos.reload4j</groupId>
90+
</exclusion>
91+
</exclusions>
8692
</dependency>
8793
<dependency>
8894
<groupId>org.apache.flink</groupId>
@@ -332,6 +338,14 @@ limitations under the License.
332338
<groupId>org.slf4j</groupId>
333339
<artifactId>slf4j-log4j12</artifactId>
334340
</exclusion>
341+
<exclusion>
342+
<artifactId>reload4j</artifactId>
343+
<groupId>ch.qos.reload4j</groupId>
344+
</exclusion>
345+
<exclusion>
346+
<artifactId>slf4j-reload4j</artifactId>
347+
<groupId>org.slf4j</groupId>
348+
</exclusion>
335349
</exclusions>
336350
</dependency>
337351

@@ -353,6 +367,10 @@ limitations under the License.
353367
<artifactId>slf4j-log4j12</artifactId>
354368
<groupId>org.slf4j</groupId>
355369
</exclusion>
370+
<exclusion>
371+
<artifactId>reload4j</artifactId>
372+
<groupId>ch.qos.reload4j</groupId>
373+
</exclusion>
356374
</exclusions>
357375
</dependency>
358376

@@ -375,6 +393,10 @@ limitations under the License.
375393
<artifactId>slf4j-log4j12</artifactId>
376394
<groupId>org.slf4j</groupId>
377395
</exclusion>
396+
<exclusion>
397+
<artifactId>reload4j</artifactId>
398+
<groupId>ch.qos.reload4j</groupId>
399+
</exclusion>
378400
</exclusions>
379401
</dependency>
380402

@@ -397,6 +419,14 @@ limitations under the License.
397419
<artifactId>slf4j-log4j12</artifactId>
398420
<groupId>org.slf4j</groupId>
399421
</exclusion>
422+
<exclusion>
423+
<artifactId>reload4j</artifactId>
424+
<groupId>ch.qos.reload4j</groupId>
425+
</exclusion>
426+
<exclusion>
427+
<artifactId>slf4j-reload4j</artifactId>
428+
<groupId>org.slf4j</groupId>
429+
</exclusion>
400430
</exclusions>
401431
</dependency>
402432

@@ -444,7 +474,9 @@ limitations under the License.
444474
<excludes>
445475
<exclude>**/MysqlE2eWithYarnApplicationITCase.java</exclude>
446476
</excludes>
447-
<forkCount>1</forkCount>
477+
<forkCount>4</forkCount>
478+
<reuseForks>false</reuseForks>
479+
<parallel>classes</parallel>
448480
<systemPropertyVariables>
449481
<moduleDir>${project.basedir}</moduleDir>
450482
</systemPropertyVariables>

flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/src/test/java/org/apache/flink/cdc/pipeline/tests/utils/PipelineTestEnvironment.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
import org.testcontainers.containers.Network;
4646
import org.testcontainers.containers.output.FrameConsumerResultCallback;
4747
import org.testcontainers.containers.output.OutputFrame;
48-
import org.testcontainers.containers.output.Slf4jLogConsumer;
4948
import org.testcontainers.containers.output.ToStringConsumer;
5049
import org.testcontainers.images.builder.Transferable;
5150
import org.testcontainers.junit.jupiter.Container;
@@ -114,8 +113,7 @@ private int getParallelism() {
114113
.withUsername("flinkuser")
115114
.withPassword("flinkpw")
116115
.withNetwork(NETWORK)
117-
.withNetworkAliases(INTER_CONTAINER_MYSQL_ALIAS)
118-
.withLogConsumer(new Slf4jLogConsumer(LOG));
116+
.withNetworkAliases(INTER_CONTAINER_MYSQL_ALIAS);
119117

120118
// ------------------------------------------------------------------------------------------
121119
// Flink Variables

0 commit comments

Comments
 (0)