diff options
author | Lamont Nelson <lamont.nelson@mongodb.com> | 2020-02-27 19:11:42 -0500 |
---|---|---|
committer | Lamont Nelson <lamont.nelson@mongodb.com> | 2020-02-27 19:11:42 -0500 |
commit | ca5da960a1d6ffddf281c0b448c229bed2d0e5fe (patch) | |
tree | 9b78f300c453005f0370a40de57f9cc5c5e9dcc2 | |
parent | a3daefcdf47cf392260b5f89053e34b740151b2b (diff) | |
download | mongo-ca5da960a1d6ffddf281c0b448c229bed2d0e5fe.tar.gz |
remove debug code
-rw-r--r-- | jstests/sharding/repl_monitor_refresh.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/jstests/sharding/repl_monitor_refresh.js b/jstests/sharding/repl_monitor_refresh.js index 31938b43044..20f1d930d98 100644 --- a/jstests/sharding/repl_monitor_refresh.js +++ b/jstests/sharding/repl_monitor_refresh.js @@ -7,14 +7,6 @@ load("jstests/replsets/rslib.js"); (function() { "use strict"; -function sleep(milliseconds) { - const date = Date.now(); - let currentDate = null; - do { - currentDate = Date.now(); - } while (currentDate - date < milliseconds); -} - // Skip db hash check and shard replication since the removed node has wrong config and is still // alive. TestData.skipCheckDBHashes = true; |