diff --git a/util/db_test_util.h b/util/db_test_util.h index dfb2b3e6d42f8ae6da73627ec855198d3099e681..3407e390796549cfba9490620db5c46b4fb0eafe 100644 --- a/util/db_test_util.h +++ b/util/db_test_util.h @@ -83,8 +83,8 @@ class AtomicCounter { uint64_t start = env_->NowMicros(); while (count_ < count) { uint64_t now = env_->NowMicros(); - cond_count_.TimedWait(now + /*1s*/ 1 * 000 * 000); - if (env_->NowMicros() - start > /*10s*/ 10 * 000 * 000) { + cond_count_.TimedWait(now + /*1s*/ 1 * 1000 * 1000); + if (env_->NowMicros() - start > /*10s*/ 10 * 1000 * 1000) { return false; } if (count_ < count) {