From af097c54281b4eb893f0b65c150ffbc7d7eab5eb Mon Sep 17 00:00:00 2001 From: Harbor Liu <460660596@qq.com> Date: Tue, 10 Dec 2024 17:10:17 +0800 Subject: [PATCH] [UT] Fix DeadLockTest test5 UT unstable (#53756) --- .../src/test/java/com/starrocks/common/lock/DeadLockTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fe/fe-core/src/test/java/com/starrocks/common/lock/DeadLockTest.java b/fe/fe-core/src/test/java/com/starrocks/common/lock/DeadLockTest.java index 6f1ca0cbc7d2c..751ff81f4aa60 100644 --- a/fe/fe-core/src/test/java/com/starrocks/common/lock/DeadLockTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/common/lock/DeadLockTest.java @@ -216,6 +216,7 @@ public void test5() { Config.lock_manager_enable_resolve_deadlock = true; TestLocker testLocker4 = new TestLocker(); testLocker4.lock(rid1, LockType.READ); + testLocker4.release(rid1, LockType.READ); assertDeadLock(Lists.newArrayList(testLocker1, testLocker2, testLocker3), Lists.newArrayList(new Pair<>(rid1, LockType.WRITE),