Skip to content

Commit da07ec2

Browse files
committed
bug(test): fix PagePinEasyTest in buffer pool test
Signed-off-by: Alan Tang <jmtangcs@gmail.com>
1 parent d4159e3 commit da07ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/buffer/buffer_pool_manager_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ TEST(BufferPoolManagerTest, DISABLED_PagePinEasyTest) {
102102

103103
ASSERT_EQ(1, bpm->GetPinCount(pageid1));
104104
page1_write.Drop();
105-
ASSERT_EQ(0, bpm->GetPinCount(pageid0));
105+
ASSERT_EQ(0, bpm->GetPinCount(pageid1));
106106
}
107107

108108
{

0 commit comments

Comments
 (0)