diff --git a/dubbo-common/src/test/java/org/apache/dubbo/rpc/model/ScopeModelUtilTest.java b/dubbo-common/src/test/java/org/apache/dubbo/rpc/model/ScopeModelUtilTest.java index 147fad70d01..dcf0cfba794 100644 --- a/dubbo-common/src/test/java/org/apache/dubbo/rpc/model/ScopeModelUtilTest.java +++ b/dubbo-common/src/test/java/org/apache/dubbo/rpc/model/ScopeModelUtilTest.java @@ -25,6 +25,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import java.util.concurrent.locks.Lock; + /** * {@link ScopeModelUtil} */ @@ -109,6 +111,11 @@ protected void onDestroy() { public Environment getModelEnvironment() { return null; } + + @Override + protected Lock acquireDestroyLock() { + return null; + } } }