]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
DBSSTTest.RateLimitedDelete: not to use real clock
authorsdong <siying.d@fb.com>
Tue, 18 Oct 2016 05:22:48 +0000 (22:22 -0700)
committersdong <siying.d@fb.com>
Mon, 24 Oct 2016 17:35:00 +0000 (10:35 -0700)
commit24495186da7e4eb64eb2df849e95b19dc9fd4f17
tree09edf057761e6cc29c99abc5188c3d7121b09f5d
parent1168cb810a3b59c1245c870bc4ebece6d3f6d3bd
DBSSTTest.RateLimitedDelete: not to use real clock

Summary: Using real clock causes failures of DBSSTTest.RateLimitedDelete in some cases. Turn away from the real time. Use fake time instead.

Test Plan: Run the tests and all existing tests.

Reviewers: yiwu, IslamAbdelRahman

Reviewed By: IslamAbdelRahman

Subscribers: leveldb, andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D65145
db/db_sst_test.cc
util/delete_scheduler.cc
util/delete_scheduler.h
util/instrumented_mutex.cc