]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Improve DBTest.GroupCommitTest: artificially slowdown log writing to trigger group...
authorsdong <siying.d@fb.com>
Thu, 6 Nov 2014 18:14:47 +0000 (10:14 -0800)
committersdong <siying.d@fb.com>
Thu, 6 Nov 2014 18:48:06 +0000 (10:48 -0800)
commit367a3f9cb4ff1b7d5c23f2fc4b37e8ef55b4971d
tree688e97e5b504d1faa1e8011eed8c5bc35f986216
parentb52b144c737e52dc54dbcfdb5a4e7e365d4dec6d
Improve DBTest.GroupCommitTest: artificially slowdown log writing to trigger group commit

Summary: In order to avoid random failure of DBTest.GroupCommitTest, artificially sleep 100 microseconds in each log writing.

Test Plan: Run the test in a machine where valgrind version of the test always fails multiple times and see it always succeed.

Reviewers: igor, yhchiang, rven, ljin

Reviewed By: ljin

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D28401
db/db_test.cc