WillemJiang closed pull request #825: [SCB-666] Remove assert for 
AddressResolverOptions
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/825
 
 
   

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/service-registry/src/test/java/org/apache/servicecomb/serviceregistry/client/http/TestAbstractClientPool.java
 
b/service-registry/src/test/java/org/apache/servicecomb/serviceregistry/client/http/TestAbstractClientPool.java
index 56b609bf9..5187dc667 100644
--- 
a/service-registry/src/test/java/org/apache/servicecomb/serviceregistry/client/http/TestAbstractClientPool.java
+++ 
b/service-registry/src/test/java/org/apache/servicecomb/serviceregistry/client/http/TestAbstractClientPool.java
@@ -80,19 +80,6 @@ public void create() {
     HttpClientPool.INSTANCE.create();
 
     Assert.assertEquals("registry", vertxName);
-    Assert.assertEquals(
-        "{"
-            + "\"cacheMaxTimeToLive\":2147483647,"
-            + "\"cacheMinTimeToLive\":0,"
-            + "\"cacheNegativeTimeToLive\":0,"
-            + "\"maxQueries\":4,"
-            + "\"ndots\":0,"
-            + "\"optResourceEnabled\":true,"
-            + "\"queryTimeout\":5000,"
-            + "\"rdFlag\":true,"
-            + "\"rotateServers\":false"
-            + "}",
-        vertxOptions.getAddressResolverOptions().toJson().toString());
 
     Assert.assertEquals(ClientVerticle.class, verticleCls);
     Assert.assertEquals(ClientPoolManager.class,


 

----------------------------------------------------------------
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


With regards,
Apache Git Services

Reply via email to