This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.0-multi-instances
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0-multi-instances by this
push:
new d01d3d2 Fix UT in DNSServiceDiscoveryTest
d01d3d2 is described below
commit d01d3d2639a3c044a4d4edb8cf596a16285657ce
Author: Albumen Kevin <[email protected]>
AuthorDate: Sun Aug 29 18:32:42 2021 +0800
Fix UT in DNSServiceDiscoveryTest
---
.../test/java/org/apache/dubbo/registry/dns/DNSServiceDiscoveryTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/dubbo-registry/dubbo-registry-dns/src/test/java/org/apache/dubbo/registry/dns/DNSServiceDiscoveryTest.java
b/dubbo-registry/dubbo-registry-dns/src/test/java/org/apache/dubbo/registry/dns/DNSServiceDiscoveryTest.java
index be426c7..c6c55b6 100644
---
a/dubbo-registry/dubbo-registry-dns/src/test/java/org/apache/dubbo/registry/dns/DNSServiceDiscoveryTest.java
+++
b/dubbo-registry/dubbo-registry-dns/src/test/java/org/apache/dubbo/registry/dns/DNSServiceDiscoveryTest.java
@@ -109,6 +109,7 @@ public class DNSServiceDiscoveryTest {
public void testConsumer() throws Exception {
ApplicationModel applicationModel = ApplicationModel.defaultModel();
DNSServiceDiscovery dnsServiceDiscovery = new DNSServiceDiscovery();
+ dnsServiceDiscovery.setApplicationModel(applicationModel);
URL registryURL = URL.valueOf("dns://")
.addParameter(DNSClientConst.DNS_POLLING_CYCLE, 100)