Update timeout to 50ms instead of 3.

This commit is contained in:
Torrie Fischer 2014-08-26 09:38:45 -07:00
parent 7c5173d27f
commit 0db6b028e7

View File

@ -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 = 3;
write_opt.timeout_hint_us = 50;
ASSERT_TRUE(
Put(Key(3), Key(3) + std::string(100000, 'v'), write_opt).IsTimedOut());
}