diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-22 21:01:42 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-22 21:01:42 +0000 |
commit | 4da6caa4a5d513296cdc0f2bdd4e85d6c8301b78 (patch) | |
tree | fc3c9f76e4a7eb271f1aa68b8b440cc1822847c5 | |
parent | 86a7530425f7997ebf082fbbf781b1a324590e47 (diff) | |
download | sonarqube-4da6caa4a5d513296cdc0f2bdd4e85d6c8301b78.tar.gz sonarqube-4da6caa4a5d513296cdc0f2bdd4e85d6c8301b78.zip |
sonar-gwt-api : activate the parallel unit tests
-rw-r--r-- | sonar-ws-client/pom.xml | 15 | ||||
-rw-r--r-- | sonar-ws-client/src/test/java/org/sonar/wsclient/services/EventQueryTest.java | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/sonar-ws-client/pom.xml b/sonar-ws-client/pom.xml index 2875ed54b10..fd0bee5b69c 100644 --- a/sonar-ws-client/pom.xml +++ b/sonar-ws-client/pom.xml @@ -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>
\ No newline at end of file diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/EventQueryTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/EventQueryTest.java index 5eec4d1180e..b3a4eb62270 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/EventQueryTest.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/EventQueryTest.java @@ -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")); |