Skip to content

Commit 668568f

Browse files
committed
Exclude network-dependent tests from PIT mutation testing
VSXWebService* and AuthenticationSourceTest make live HTTP calls to AAVSO services, causing PIT minions to hang during coverage analysis and eventually crash with RUN_ERROR/TIMED_OUT. These are integration tests unsuited for mutation testing. Also reset jvmArgs to 2048m. Made-with: Cursor
1 parent 8aea0af commit 668568f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@
499499
<pathelement path="${test_build}" />
500500
</path>
501501
<!-- export feature activated to write mutants to file -->
502-
<pitest features="+EXPORT" threads="1" pitClasspath="pitest.classpath" classPath="mutation.path" targetClasses="org.aavso.tools.vstar.*" targetTests="org.aavso.tools.vstar.*" excludedtestclasses="org.aavso.tools.vstar.util.period.dcdft.*,org.aavso.tools.vstar.util.stats.DescStatsTest,org.aavso.tools.vstar.util.stats.anova.*" reportDir="${mutation_coverage_dir}" sourceDir="${src}" outputFormats="XML,HTML" timeoutConst="10000" timeoutFactor="2" jvmArgs="-Xmx2048m,-XX:+UseSerialGC" maxMutationsPerClass="50" />
502+
<pitest features="+EXPORT" threads="1" pitClasspath="pitest.classpath" classPath="mutation.path" targetClasses="org.aavso.tools.vstar.*" targetTests="org.aavso.tools.vstar.*" excludedtestclasses="org.aavso.tools.vstar.util.period.dcdft.*,org.aavso.tools.vstar.util.stats.DescStatsTest,org.aavso.tools.vstar.util.stats.anova.*,org.aavso.tools.vstar.input.database.VSXWebService*,org.aavso.tools.vstar.auth.VSXWebServiceMemberInfoTest,org.aavso.tools.vstar.auth.AuthenticationSourceTest" reportDir="${mutation_coverage_dir}" sourceDir="${src}" outputFormats="XML,HTML" timeoutConst="10000" timeoutFactor="2" jvmArgs="-Xmx2048m,-XX:+UseSerialGC" maxMutationsPerClass="50" />
503503
</target>
504504

505505
<!-- Static analysis targets -->

0 commit comments

Comments
 (0)