0

we are starting our tests on jenkins every time a release is done. However, we would like to have tests run in parallel. How could we make this happen?

Our tests are written in Cucumber+Selenium(Java)+TestNG

Here is the stacktrace from the maven surefire plugin:

       <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>3.0.0-M6</version>
            <configuration>
                <forkCount>${movuFork}</forkCount>
                <reuseForks>false</reuseForks>
                <argLine>-Duser.language=en</argLine>
                <argLine>-Xmx256m</argLine>
                <argLine>-XX:MaxPermSize=128m</argLine>
                <argLine>-Dfile.encoding=UTF-8</argLine>
                <useFile>false</useFile>
                <includes>
                    <include>${test.type}/*AT.class</include>
                </includes>
                <testFailureIgnore>true</testFailureIgnore>
                <useSystemClassLoader>false</useSystemClassLoader>
            </configuration>
        </plugin>

AND

<properties>
    <env>qa</env>
    <test.type>smoke</test.type>
    <movuFork>1</movuFork>

    <maven.compiler.release>13</maven.compiler.release>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

We tried changing the fork count and the xmx memory, as well as updating to the latest surefire version.

0 Answers0