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 82f098f  [SCB-666] Remove assert for AddressResolverOptions
82f098f is described below

commit 82f098f67745af2659f5a1822f5edc988d9a3402
Author: Yang Bo <yangb...@huawei.com>
AuthorDate: Fri Jul 20 09:40:46 2018 +0800

    [SCB-666] Remove assert for AddressResolverOptions
    
    The AddressResolverOptions just uses the vertx defaults. The conigSource
    is set to null when creating. So there is no need to test these options.
---
 .../serviceregistry/client/http/TestAbstractClientPool.java | 13 -------------
 1 file changed, 13 deletions(-)

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 56b609b..5187dc6 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 class TestAbstractClientPool {
     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,

Reply via email to