Skip to content

Commit 0c26e76

Browse files
committed
Merge pull request XRPLF#237 from tdfischer/tdfischer/faster-timeout-test
test: db: fix test to have a smaller timeout for when it runs on faster ...
2 parents 1d23b5c + 0db6b02 commit 0c26e76

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
@@ -7554,7 +7554,7 @@ TEST(DBTest, SimpleWriteTimeoutTest) {
75547554
ASSERT_OK(Put(Key(2), Key(2) + std::string(100000, 'v'), write_opt));
75557555
// As the only two write buffers are full in this moment, the third
75567556
// Put is expected to be timed-out.
7557-
write_opt.timeout_hint_us = 300;
7557+
write_opt.timeout_hint_us = 50;
75587558
ASSERT_TRUE(
75597559
Put(Key(3), Key(3) + std::string(100000, 'v'), write_opt).IsTimedOut());
75607560
}

0 commit comments

Comments
 (0)