[ 
https://issues.apache.org/jira/browse/SCB-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394094#comment-16394094
 ] 

ASF GitHub Bot commented on SCB-381:
------------------------------------

WillemJiang closed pull request #583: [SCB-381] Fix foundation-vertx UT failure
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/583
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/foundations/foundation-vertx/pom.xml 
b/foundations/foundation-vertx/pom.xml
index b60a07227..7b70dec2e 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>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Fix foudation-vertx UT failure on linux
> ---------------------------------------
>
>                 Key: SCB-381
>                 URL: https://issues.apache.org/jira/browse/SCB-381
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>            Reporter: Yang Bo
>            Assignee: Yang Bo
>            Priority: Major
>
> The foudation-vertx's UT would fail on some linux platforms.
> createClientPool.createClientPool fails on 
> TcpClientConnectionPool pool = factory.createClientPool();
> with NPE.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to