Skip to content

Commit 95d934b

Browse files
Copilotdkayiwa
andauthored
Skip tests in intermediate build steps to fix Linux port conflict (#100)
* Initial plan * Skip tests in step-01 through step-04 to prevent MariaDB port conflicts Set skipTests=true in the parent POM so all modules skip tests by default, and override it to false in pom-step-05.xml where tests should run. This fixes the build failure on Linux where running tests in intermediate step modules (step-02, step-03) caused MariaDB port conflicts when step-04 tried to start its demo database on port 33328. Co-authored-by: dkayiwa <1390773+dkayiwa@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dkayiwa <1390773+dkayiwa@users.noreply.github.com>
1 parent be36136 commit 95d934b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

pom-step-05.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
<relativePath>pom.xml</relativePath>
1717
</parent>
1818

19+
<properties>
20+
<skipTests>false</skipTests>
21+
</properties>
22+
1923
<dependencies>
2024

2125
<dependency>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
<junitVersion>5.12.2</junitVersion>
4141
<mockitoVersion>3.12.4</mockitoVersion>
4242
<mariadb4jVersion>3.3.1</mariadb4jVersion>
43+
<skipTests>true</skipTests>
4344
</properties>
4445

4546
<dependencies>

0 commit comments

Comments
 (0)