Skip to content

Commit

Permalink
Use execute subcommand to avoid interlaced output making test flaky
Browse files Browse the repository at this point in the history
The deprecation warning was sometimes printed in between the regular
output causing `AntStarterTests` to fail.
  • Loading branch information
marcphilipp committed Sep 25, 2024
1 parent 4ca72ea commit ee104a3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<!-- https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher -->
<target name="test.console.launcher" depends="compile">
<java classpathref="test.classpath" classname="org.junit.platform.console.ConsoleLauncher" fork="true">
<arg value="execute"/>
<arg value="--scan-classpath"/>
<arg value="--include-engine=junit-jupiter"/>
<arg value="--disable-ansi-colors"/>
Expand Down

0 comments on commit ee104a3

Please sign in to comment.