Skip to content

Commit eca3c1f

Browse files
committed
[ci] Adapt Windows CI restrictions to GitHub Actions
1 parent 1b9ddeb commit eca3c1f

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
@@ -1133,18 +1133,17 @@ The BaseX Team. The original license statement is also included below.]]></pream
11331133
<profiles>
11341134
<profile>
11351135
<!--
1136-
Disable parallel tests on Windows.
1137-
When running multiple tests in parallel, Quartz seems to stop eXist-db from shutting down
1138-
on AppVeyor Windows CI, see: https://github.com/quartz-scheduler/quartz/issues/448
1136+
Disable parallel tests on Windows in CI, seems to cause an occasional issue with
1137+
Surefire that produces the Maven error: 'Corrupted channel by directly writing to native stream in forked JVM'.
11391138
-->
1140-
<id>windows-disable-parallel-testing</id>
1139+
<id>windows-disable-parallel-ci-testing</id>
11411140
<activation>
11421141
<os>
11431142
<family>windows</family>
11441143
</os>
11451144
<property>
1146-
<name>env.APPVEYOR</name>
1147-
<value>True</value>
1145+
<name>env.GITHUB_ACTIONS</name>
1146+
<value>true</value>
11481147
</property>
11491148
</activation>
11501149
<build>
@@ -1173,16 +1172,16 @@ The BaseX Team. The original license statement is also included below.]]></pream
11731172
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" />
11741173
<forkCount>1C</forkCount>
11751174
<reuseForks>false</reuseForks>
1176-
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
1175+
<argLine>-Dfile.encoding=${project.build.sourceEncoding} -Dexist.recovery.progressbar.hide=true</argLine>
11771176
<systemPropertyVariables>
11781177
<jetty.home>${project.basedir}/../exist-jetty-config/target/classes/org/exist/jetty</jetty.home>
11791178
<exist.configurationFile>${project.build.testOutputDirectory}/conf.xml</exist.configurationFile>
11801179
<exist.jetty.standalone.webapp.dir>${project.build.testOutputDirectory}/standalone-webapp</exist.jetty.standalone.webapp.dir>
11811180
<log4j.configurationFile>${project.build.testOutputDirectory}/log4j2.xml</log4j.configurationFile>
11821181
</systemPropertyVariables>
11831182
<excludes>
1184-
<!-- NOTE: this test fails on AppVeyor Windows CI with Oracle JDK 11,
1185-
but not on some other windows systems :-/ -->
1183+
<!-- NOTE: this test occasionally fails on Windows CI
1184+
but not on some other Windows systems :-/ -->
11861185
<exclude>org.exist.storage.lock.CollectionLocksTest</exclude>
11871186

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

0 commit comments

Comments
 (0)