Skip to content

Commit

Permalink
[UT] Fix DeadLockTest test5 UT unstable (#53756)
Browse files Browse the repository at this point in the history
  • Loading branch information
HangyuanLiu authored Dec 10, 2024
1 parent d76239c commit af097c5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit af097c5

Please sign in to comment.