提交 05c5c39a 编写于 作者: I Islam AbdelRahman

Fix build

上级 a6254f2b
......@@ -602,13 +602,13 @@ TEST_F(TransactionTest, TwoPhaseMultiThreadTest) {
t_wait_on_prepare.fetch_add(1);
// wait for friends
while (t_wait_on_prepare.load() < NUM_TXN_THREADS) {
env_->SleepForMicroseconds(10);
env->SleepForMicroseconds(10);
}
} else if (writer->ShouldWriteToMemtable()) {
t_wait_on_commit.fetch_add(1);
// wait for friends
while (t_wait_on_commit.load() < NUM_TXN_THREADS) {
env_->SleepForMicroseconds(10);
env->SleepForMicroseconds(10);
}
} else {
ASSERT_TRUE(false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册