dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] diecui1202 closed pull request #2302: fix ut stable, #2227
Date Wed, 15 Aug 2018 12:46:40 GMT
diecui1202 closed pull request #2302: fix ut stable, #2227
URL: https://github.com/apache/incubator-dubbo/pull/2302
 
 
   

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/.travis.yml b/.travis.yml
index 529e7ff047..d928330aa4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,8 +6,15 @@ jdk:
     - oraclejdk8
     - openjdk7
 
+cache:
+  directories:
+  - '$HOME/.m2/repository'
+
+install:
+  - ./mvnw clean install -DskipTests=true -Dcheckstyle.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true
+
 script:
-    - travis_wait 30 ./mvnw clean package
+    - travis_wait 30 ./mvnw test
 
 after_success:
   - bash <(curl -s https://codecov.io/bash)
diff --git a/dubbo-config/dubbo-config-api/src/test/java/com/alibaba/dubbo/config/RegistryConfigTest.java
b/dubbo-config/dubbo-config-api/src/test/java/com/alibaba/dubbo/config/RegistryConfigTest.java
index 1d9bbe2038..086a4fa589 100644
--- a/dubbo-config/dubbo-config-api/src/test/java/com/alibaba/dubbo/config/RegistryConfigTest.java
+++ b/dubbo-config/dubbo-config-api/src/test/java/com/alibaba/dubbo/config/RegistryConfigTest.java
@@ -69,6 +69,7 @@ public void testWait() throws Exception {
         registry.setWait(10);
         assertThat(registry.getWait(), is(10));
         assertThat(System.getProperty(Constants.SHUTDOWN_WAIT_KEY), equalTo("10"));
+        System.clearProperty(Constants.SHUTDOWN_WAIT_KEY);
     }
 
     @Test


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message