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/04/21 11:18:13 UTC

[dubbo] branch master updated: fix: MulticastRegistryTest#testUrlError will throw wrong exception (#7567)

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 f3dd2db  fix: MulticastRegistryTest#testUrlError will throw wrong exception (#7567)
f3dd2db is described below

commit f3dd2dbf41e35e9691eb274e8e419f2895c0676d
Author: Xiong, Pin <pi...@foxmail.com>
AuthorDate: Wed Apr 21 19:17:59 2021 +0800

    fix: MulticastRegistryTest#testUrlError will throw wrong exception (#7567)
---
 .../java/org/apache/dubbo/registry/multicast/MulticastRegistryTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-registry/dubbo-registry-multicast/src/test/java/org/apache/dubbo/registry/multicast/MulticastRegistryTest.java b/dubbo-registry/dubbo-registry-multicast/src/test/java/org/apache/dubbo/registry/multicast/MulticastRegistryTest.java
index f0b9f1e..d666a55 100644
--- a/dubbo-registry/dubbo-registry-multicast/src/test/java/org/apache/dubbo/registry/multicast/MulticastRegistryTest.java
+++ b/dubbo-registry/dubbo-registry-multicast/src/test/java/org/apache/dubbo/registry/multicast/MulticastRegistryTest.java
@@ -58,7 +58,7 @@ public class MulticastRegistryTest {
     @Test
     public void testUrlError() {
         Assertions.assertThrows(IllegalStateException.class, () -> {
-            URL errorUrl = URL.valueOf("multicast://mullticast/");
+            URL errorUrl = URL.valueOf("multicast://dubbo.mullticast/");
             new MulticastRegistry(errorUrl);
         });
     }