Skip to content

Commit

Permalink
Merge pull request XRPLF#237 from tdfischer/tdfischer/faster-timeout-…
Browse files Browse the repository at this point in the history
…test

test: db: fix test to have a smaller timeout for when it runs on faster ...
  • Loading branch information
igorcanadi committed Aug 29, 2014
2 parents 1d23b5c + 0db6b02 commit 0c26e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7554,7 +7554,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 = 50;
ASSERT_TRUE(
Put(Key(3), Key(3) + std::string(100000, 'v'), write_opt).IsTimedOut());
}
Expand Down

0 comments on commit 0c26e76

Please sign in to comment.