You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/02/23 06:11:21 UTC

[dubbo] branch master updated: Reset TestProxyFactory.count after ServiceConfigTest.testProxy (#7108)

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

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new f24ff05  Reset TestProxyFactory.count after ServiceConfigTest.testProxy (#7108)
f24ff05 is described below

commit f24ff0505c6f412ef84d59dacacb953d1ae2f5bb
Author: lzx404243 <lz...@hotmail.com>
AuthorDate: Tue Feb 23 00:10:54 2021 -0600

    Reset TestProxyFactory.count after ServiceConfigTest.testProxy (#7108)
---
 .../src/test/java/org/apache/dubbo/config/ServiceConfigTest.java         | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java
index 4d157ff..95c7a0b 100644
--- a/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java
+++ b/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java
@@ -160,6 +160,7 @@ public class ServiceConfigTest {
 
         assertThat(service2.getExportedUrls(), hasSize(1));
         assertEquals(2, TestProxyFactory.count); // local injvm and registry protocol, so expected is 2
+        TestProxyFactory.count = 0;
     }