diff options
author | Waley Chen <waleycz@gmail.com> | 2016-04-25 17:24:46 -0400 |
---|---|---|
committer | Waley Chen <waleycz@gmail.com> | 2016-04-25 17:25:10 -0400 |
commit | 046441de98dd72689397a4a06f8a68ef58a4c226 (patch) | |
tree | 49825e54815d04c4d952421efcd1a59b9c7109ee /src/mongo/db/s | |
parent | 3e9149a2db5a6d2e2ecf262340dc052d4dfaaea8 (diff) | |
download | mongo-046441de98dd72689397a4a06f8a68ef58a4c226.tar.gz |
SERVER-23243 Replace the easy-to-remove usages of Listener::getElapsedTimeMillis()
Diffstat (limited to 'src/mongo/db/s')
-rw-r--r-- | src/mongo/db/s/sharding_state_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/s/sharding_state_test.cpp b/src/mongo/db/s/sharding_state_test.cpp index 5bcee931b75..8291b917edd 100644 --- a/src/mongo/db/s/sharding_state_test.cpp +++ b/src/mongo/db/s/sharding_state_test.cpp @@ -91,6 +91,7 @@ void initGrid(OperationContext* txn, const ConnectionString& configConnString) { class ShardingStateTest : public mongo::unittest::Test { public: void setUp() override { + _service.setFastClockSource(stdx::make_unique<ClockSourceMock>()); _service.setPreciseClockSource(stdx::make_unique<ClockSourceMock>()); serverGlobalParams.clusterRole = ClusterRole::ShardServer; |