Skip to content

Commit d380983

Browse files
committed
[ci] Adapt Windows CI restrictions to GitHub Actions
1 parent 3a4589e commit d380983

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

exist-core/pom.xml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,18 +1228,17 @@ The BaseX Team. The original license statement is also included below.]]></pream
12281228
<profiles>
12291229
<profile>
12301230
<!--
1231-
Disable parallel tests on Windows.
1232-
When running multiple tests in parallel, Quartz seems to stop eXist-db from shutting down
1233-
on AppVeyor Windows CI, see: https://github.com/quartz-scheduler/quartz/issues/448
1231+
Disable parallel tests on Windows in CI, seems to cause an occasional issue with
1232+
Surefire that produces the Maven error: 'Corrupted channel by directly writing to native stream in forked JVM'.
12341233
-->
1235-
<id>windows-disable-parallel-testing</id>
1234+
<id>windows-disable-parallel-ci-testing</id>
12361235
<activation>
12371236
<os>
12381237
<family>windows</family>
12391238
</os>
12401239
<property>
1241-
<name>env.APPVEYOR</name>
1242-
<value>True</value>
1240+
<name>env.GITHUB_ACTIONS</name>
1241+
<value>true</value>
12431242
</property>
12441243
</activation>
12451244
<build>
@@ -1268,16 +1267,16 @@ The BaseX Team. The original license statement is also included below.]]></pream
12681267
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" />
12691268
<forkCount>1C</forkCount>
12701269
<reuseForks>false</reuseForks>
1271-
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
1270+
<argLine>-Dfile.encoding=${project.build.sourceEncoding} -Dexist.recovery.progressbar.hide=true</argLine>
12721271
<systemPropertyVariables>
12731272
<jetty.home>${project.basedir}/../exist-jetty-config/target/classes/org/exist/jetty</jetty.home>
12741273
<exist.configurationFile>${project.build.testOutputDirectory}/conf.xml</exist.configurationFile>
12751274
<exist.jetty.standalone.webapp.dir>${project.build.testOutputDirectory}/standalone-webapp</exist.jetty.standalone.webapp.dir>
12761275
<log4j.configurationFile>${project.build.testOutputDirectory}/log4j2.xml</log4j.configurationFile>
12771276
</systemPropertyVariables>
12781277
<excludes>
1279-
<!-- NOTE: this test fails on AppVeyor Windows CI with Oracle JDK 11,
1280-
but not on some other windows systems :-/ -->
1278+
<!-- NOTE: this test occasionally fails on Windows CI
1279+
but not on some other Windows systems :-/ -->
12811280
<exclude>org.exist.storage.lock.CollectionLocksTest</exclude>
12821281

12831282
<!-- NOTE: these can still exhibit deadlocks -->

0 commit comments

Comments
 (0)