You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/03/10 08:00:24 UTC

[incubator-servicecomb-java-chassis] branch master updated: SCB-381 Fix foundation-vertx UT failure

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new 17137b5  SCB-381 Fix foundation-vertx UT failure
17137b5 is described below

commit 17137b5905940094f804451aacc5a7c21e711aea
Author: Yang Bo <ya...@huawei.com>
AuthorDate: Sat Mar 10 11:54:56 2018 +0800

    SCB-381 Fix foundation-vertx UT failure
    
    Vertx uses some static fields which will cause problems if resued.
    Disabled surefire fork for foundation-vertx to avoid this issue.
---
 foundations/foundation-vertx/pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/foundations/foundation-vertx/pom.xml b/foundations/foundation-vertx/pom.xml
index b60a072..7b70dec 100644
--- a/foundations/foundation-vertx/pom.xml
+++ b/foundations/foundation-vertx/pom.xml
@@ -53,4 +53,21 @@
       <artifactId>foundation-test-scaffolding</artifactId>
     </dependency>
   </dependencies>
+
+  <!--
+   Disable surefire forking for vertex, it causes the UT to fail
+   on some platforms(mainly linux).
+   -->
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <forkCount>1</forkCount>
+          <reuseForks>false</reuseForks>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.