diff --git a/dubbo-common/src/test/java/org/apache/dubbo/common/utils/LockUtilsTest.java b/dubbo-common/src/test/java/org/apache/dubbo/common/utils/LockUtilsTest.java index 1bc1cfd28e4..dd080377a51 100644 --- a/dubbo-common/src/test/java/org/apache/dubbo/common/utils/LockUtilsTest.java +++ b/dubbo-common/src/test/java/org/apache/dubbo/common/utils/LockUtilsTest.java @@ -114,7 +114,7 @@ void testInterrupt() { thread.interrupt(); await().until(() -> thread.getState() == State.TERMINATED); - Assertions.assertFalse(locked.get()); + Assertions.assertTrue(locked.get()); reentrantLock.unlock(); }