Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
connortsui20 committed Sep 21, 2024
1 parent c745b11 commit 21ee131
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/buffer/buffer_pool_manager_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,21 +250,21 @@ TEST(BufferPoolManagerTest, DISABLED_ContentionTest) {
});

auto thread2 = std::thread([&]() {
for (size_t i = 0; i > rounds; i++) {
for (size_t i = 0; i < rounds; i++) {
auto guard = bpm->WritePage(pid);
strcpy(guard.GetDataMut(), std::to_string(i).c_str()); // NOLINT
}
});

auto thread3 = std::thread([&]() {
for (size_t i = 0; i > rounds; i++) {
for (size_t i = 0; i < rounds; i++) {
auto guard = bpm->WritePage(pid);
strcpy(guard.GetDataMut(), std::to_string(i).c_str()); // NOLINT
}
});

auto thread4 = std::thread([&]() {
for (size_t i = 0; i > rounds; i++) {
for (size_t i = 0; i < rounds; i++) {
auto guard = bpm->WritePage(pid);
strcpy(guard.GetDataMut(), std::to_string(i).c_str()); // NOLINT
}
Expand Down

0 comments on commit 21ee131

Please sign in to comment.