Skip to content

Commit

Permalink
RCPTT launch updates #145
Browse files Browse the repository at this point in the history
Removes redundant configuration of macOS-specific start on first thread
feature; updated the way vm arguments are set to the application under
test. Furthermore, hoping the <vm> parameter will ensure that the
application under test will start on a toolchain-aware Java 11 instance
(on the server it starts with Java 17).

The hope is that by reducing the maximum amount of memory used by the
RCPTT build, it becomes less often that the build environment runs out
of memory (that might be the possible cause of random test failures).
  • Loading branch information
ujhelyiz committed Mar 27, 2024
1 parent a42244a commit 1208117
Showing 1 changed file with 4 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@
<configuration>
<aut>
<explicit>${autPath}</explicit>
<!--<vm>JavaSE-${java.version}</vm>-->
<vm>${jdkHome}</vm>
<vmArgs>
<vmArg>${rcptt.vmargs}</vmArg>
<vmArg>-Xmx2G</vmArg>
<vmArgs>${argLine}</vmArgs>
</vmArgs>
</aut>
<memoryUsage>true</memoryUsage>
<runner>
<version>${rcptt.version}</version>
</runner>
Expand All @@ -39,9 +41,6 @@
<skipTags>
<skipTag>testToSkip</skipTag>
</skipTags>


<!--Remove if you want to run all tests! -->
<suites>
<suite>VIATRA All GUI Tests</suite>
</suites>
Expand All @@ -50,30 +49,4 @@
</plugins>
</build>

<profiles>
<profile>
<id>os-macosx</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<rcptt.vmargs>${argLine} -XstartOnFirstThread</rcptt.vmargs>
</properties>
</profile>
<profile>
<id>os-nonmac</id>
<activation>
<os>
<family>!mac</family>
</os>
</activation>
<properties>
<rcptt.vmargs>${argLine} -XstartOnFirstThread</rcptt.vmargs>
</properties>
</profile>

</profiles>

</project>

0 comments on commit 1208117

Please sign in to comment.