Browse Source

sonar-gwt-api : activate the parallel unit tests

tags/2.6
simonbrandhof 13 years ago
parent
commit
4da6caa4a5

+ 15
- 0
sonar-ws-client/pom.xml View File

@@ -87,4 +87,19 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<!-- Running JUnit tests in parallel -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<parallel>classes</parallel>
<threadCount>3</threadCount>
<perCoreThreadCount>true</perCoreThreadCount>
</configuration>
</plugin>
</plugins>
</build>
</project>

+ 1
- 1
sonar-ws-client/src/test/java/org/sonar/wsclient/services/EventQueryTest.java View File

@@ -67,7 +67,7 @@ public final class EventQueryTest {
assertNotNull(query.getResourceKey());
assertNotNull(query.getCategories());

final String url = query.getUrl();
String url = query.getUrl();
assertNotNull(url);
assertTrue(url.contains("fromDateTime"));
assertTrue(url.contains("toDateTime"));

Loading…
Cancel
Save