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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7c0fe40b7 Update SpringMvcClientEventListenerTest.java (#4252)
7c0fe40b7 is described below

commit 7c0fe40b742f3956d4b6f51bb41e04e595effef3
Author: BoyuLi4 <[email protected]>
AuthorDate: Wed Mar 8 22:08:44 2023 -0600

    Update SpringMvcClientEventListenerTest.java (#4252)
    
    Co-authored-by: moremind <[email protected]>
    Co-authored-by: xiaoyu <[email protected]>
---
 .../shenyu/client/springmvc/init/SpringMvcClientEventListenerTest.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/shenyu-client/shenyu-client-http/shenyu-client-springmvc/src/test/java/org/apache/shenyu/client/springmvc/init/SpringMvcClientEventListenerTest.java
 
b/shenyu-client/shenyu-client-http/shenyu-client-springmvc/src/test/java/org/apache/shenyu/client/springmvc/init/SpringMvcClientEventListenerTest.java
index ab80d1347..44b1a713f 100644
--- 
a/shenyu-client/shenyu-client-http/shenyu-client-springmvc/src/test/java/org/apache/shenyu/client/springmvc/init/SpringMvcClientEventListenerTest.java
+++ 
b/shenyu-client/shenyu-client-http/shenyu-client-springmvc/src/test/java/org/apache/shenyu/client/springmvc/init/SpringMvcClientEventListenerTest.java
@@ -156,6 +156,7 @@ public class SpringMvcClientEventListenerTest {
         // hit `!registered.compareAndSet(false, true)`
         springMvcClientEventListener.onApplicationEvent(contextRefreshedEvent);
         portUtilsMockedStatic.close();
+        registerUtilsMockedStatic.close();
     }
     
     @Test

Reply via email to