diff options
author | Shaileja Jain <shaileja.jain@gmail.com> | 2019-06-24 15:21:21 -0400 |
---|---|---|
committer | Shaileja Jain <shaileja.jain@gmail.com> | 2019-06-28 16:45:53 -0400 |
commit | fd128764a9e127907e2d73d6104a80612f507596 (patch) | |
tree | 9ae637580013630c710b4a7693c7acc45b97ec8b /src/mongo/util/background_thread_clock_source_test.cpp | |
parent | 562d735c3741953235b51c3f5a0a12ccc8212f76 (diff) | |
download | mongo-fd128764a9e127907e2d73d6104a80612f507596.tar.gz |
SERVER-41585 Modified background_thread_clock_source_test to not assume we can schedule the background thread
Diffstat (limited to 'src/mongo/util/background_thread_clock_source_test.cpp')
-rw-r--r-- | src/mongo/util/background_thread_clock_source_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/background_thread_clock_source_test.cpp b/src/mongo/util/background_thread_clock_source_test.cpp index 72a089b2134..5ae762b93b7 100644 --- a/src/mongo/util/background_thread_clock_source_test.cpp +++ b/src/mongo/util/background_thread_clock_source_test.cpp @@ -104,7 +104,7 @@ TEST_F(BTCSTest, NowWorks) { const auto then = _btcs->now(); sleepFor(Milliseconds(100)); const auto now = _btcs->now(); - ASSERT_GT(now, then); + ASSERT_GTE(now, then); ASSERT_LTE(now, _btcs->now()); } |