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

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


The following commit(s) were added to refs/heads/3.3 by this push:
     new 4737eafcb4 Fix SpringMvcRestProtocolTest
4737eafcb4 is described below

commit 4737eafcb47a9b35c9f28845c47438428d667284
Author: crazyhzm <crazy...@gmail.com>
AuthorDate: Mon Dec 4 20:16:44 2023 +0800

    Fix SpringMvcRestProtocolTest
    
    Signed-off-by: crazyhzm <crazy...@gmail.com>
---
 .../org/apache/dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dubbo-rpc/dubbo-rpc-rest/src/test/java/org/apache/dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java
 
b/dubbo-rpc/dubbo-rpc-rest/src/test/java/org/apache/dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java
index bfc43597c3..0c80b818e1 100644
--- 
a/dubbo-rpc/dubbo-rpc-rest/src/test/java/org/apache/dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java
+++ 
b/dubbo-rpc/dubbo-rpc-rest/src/test/java/org/apache/dubbo/rpc/protocol/rest/SpringMvcRestProtocolTest.java
@@ -411,7 +411,7 @@ public class SpringMvcRestProtocolTest {
         Object proxy = aopProxy.getProxy();
         SpringRestDemoService server = (SpringRestDemoService) proxy;
 
-        URL nettyUrl = this.registerProvider(exportUrl, server, 
SpringRestDemoService.class);
+        URL nettyUrl = this.registerProvider(getUrl(), server, 
SpringRestDemoService.class);
 
         Exporter<SpringRestDemoService> exporter = getExport(nettyUrl, server);
 

Reply via email to