don't reuse console/server test JVMs

HttpServerPortTest will fail if it isn't the first test run (due to
HttpServer internals)

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/bc362a2a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/bc362a2a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/bc362a2a

Branch: refs/heads/develop
Commit: bc362a2aff06dcf9371cc2fb9f0a809ab34c36e4
Parents: f24699a
Author: Dale LaBossiere <dlab...@us.ibm.com>
Authored: Sun Dec 10 20:47:13 2017 -0500
Committer: Dale LaBossiere <dlab...@us.ibm.com>
Committed: Sun Dec 10 20:47:13 2017 -0500

----------------------------------------------------------------------
 console/server/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/bc362a2a/console/server/pom.xml
----------------------------------------------------------------------
diff --git a/console/server/pom.xml b/console/server/pom.xml
index 7c5944c..956ff17 100644
--- a/console/server/pom.xml
+++ b/console/server/pom.xml
@@ -84,6 +84,14 @@
           </execution>
         </executions>
       </plugin>
+        <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-surefire-plugin</artifactId>
+           <configuration>
+               <!-- needed because of HttpServer impl and HttpServerPortTest 
-->
+               <reuseForks>false</reuseForks>
+           </configuration>
+         </plugin>
    </plugins>
   </build>
 

Reply via email to