From 4fd6972628c0138cf9ae40b462bac9b8904afe56 Mon Sep 17 00:00:00 2001 From: yangji <879142673@qq.com> Date: Thu, 29 Nov 2018 11:51:59 +0800 Subject: [PATCH 1/2] solve issue 2838 --- .../apache/dubbo/remoting/p2p/support/FileNetworkerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-remoting/dubbo-remoting-p2p/src/test/java/org/apache/dubbo/remoting/p2p/support/FileNetworkerTest.java b/dubbo-remoting/dubbo-remoting-p2p/src/test/java/org/apache/dubbo/remoting/p2p/support/FileNetworkerTest.java index 980718e8868..621e3c4aa6a 100644 --- a/dubbo-remoting/dubbo-remoting-p2p/src/test/java/org/apache/dubbo/remoting/p2p/support/FileNetworkerTest.java +++ b/dubbo-remoting/dubbo-remoting-p2p/src/test/java/org/apache/dubbo/remoting/p2p/support/FileNetworkerTest.java @@ -51,7 +51,7 @@ public void tearDown() throws Exception { @Test public void testJoin() throws RemotingException, InterruptedException, IOException { - final String groupURL = "file://" + folder.newFile(); + final String groupURL = "file:///" + folder.newFile(); FileNetworker networker = new FileNetworker(); Group group = networker.lookup(URL.valueOf(groupURL)); From 988b7f277dccdf40d48cdef1ad78e571840cc69d Mon Sep 17 00:00:00 2001 From: yangji <879142673@qq.com> Date: Thu, 29 Nov 2018 11:51:59 +0800 Subject: [PATCH 2/2] solve issue 2838 --- .../apache/dubbo/remoting/p2p/support/FileNetworkerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-remoting/dubbo-remoting-p2p/src/test/java/org/apache/dubbo/remoting/p2p/support/FileNetworkerTest.java b/dubbo-remoting/dubbo-remoting-p2p/src/test/java/org/apache/dubbo/remoting/p2p/support/FileNetworkerTest.java index 980718e8868..621e3c4aa6a 100644 --- a/dubbo-remoting/dubbo-remoting-p2p/src/test/java/org/apache/dubbo/remoting/p2p/support/FileNetworkerTest.java +++ b/dubbo-remoting/dubbo-remoting-p2p/src/test/java/org/apache/dubbo/remoting/p2p/support/FileNetworkerTest.java @@ -51,7 +51,7 @@ public void tearDown() throws Exception { @Test public void testJoin() throws RemotingException, InterruptedException, IOException { - final String groupURL = "file://" + folder.newFile(); + final String groupURL = "file:///" + folder.newFile(); FileNetworker networker = new FileNetworker(); Group group = networker.lookup(URL.valueOf(groupURL));