Skip to content

Commit 7c5173d

Browse files
author
Torrie Fischer
committed
test: db: fix test to have a smaller timeout for when it runs on faster hardware
1 parent 37c6740 commit 7c5173d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/db_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -7411,7 +7411,7 @@ TEST(DBTest, SimpleWriteTimeoutTest) {
74117411
ASSERT_OK(Put(Key(2), Key(2) + std::string(100000, 'v'), write_opt));
74127412
// As the only two write buffers are full in this moment, the third
74137413
// Put is expected to be timed-out.
7414-
write_opt.timeout_hint_us = 300;
7414+
write_opt.timeout_hint_us = 3;
74157415
ASSERT_TRUE(
74167416
Put(Key(3), Key(3) + std::string(100000, 'v'), write_opt).IsTimedOut());
74177417
}

0 commit comments

Comments
 (0)