diff --git a/db/db_test.cc b/db/db_test.cc index 9fb10335ba74e60095d0a522ba0439065181cdea..64486cec68f67813f78c3af0e700afa725c652d5 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -7411,7 +7411,7 @@ TEST(DBTest, SimpleWriteTimeoutTest) { ASSERT_OK(Put(Key(2), Key(2) + std::string(100000, 'v'), write_opt)); // As the only two write buffers are full in this moment, the third // Put is expected to be timed-out. - write_opt.timeout_hint_us = 300; + write_opt.timeout_hint_us = 3; ASSERT_TRUE( Put(Key(3), Key(3) + std::string(100000, 'v'), write_opt).IsTimedOut()); }