Skip to content

Commit 9c2e52a

Browse files
Fix parallelization
1 parent c35c588 commit 9c2e52a

File tree

3 files changed

+12
-41
lines changed

3 files changed

+12
-41
lines changed

android/junit4-examples/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@
119119
<groupId>org.apache.maven.plugins</groupId>
120120
<artifactId>maven-surefire-plugin</artifactId>
121121
<configuration>
122+
<parallel>
123+
classes
124+
</parallel>
125+
<threadCount>
126+
2
127+
</threadCount>
122128
<includes>
123129
<include>com/browserstack/FirstTest.java</include>
124130
</includes>

android/junit4-examples/src/test/java/com/browserstack/Parallelized.java

Lines changed: 0 additions & 41 deletions
This file was deleted.

android/junit5-examples/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@
113113
<groupId>org.apache.maven.plugins</groupId>
114114
<artifactId>maven-surefire-plugin</artifactId>
115115
<configuration>
116+
<parallel>
117+
classes
118+
</parallel>
119+
<threadCount>
120+
2
121+
</threadCount>
116122
<includes>
117123
<include>FirstTest.java</include>
118124
</includes>

0 commit comments

Comments
 (0)