summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Nelson <lamont.nelson@mongodb.com>2020-02-27 19:11:42 -0500
committerLamont Nelson <lamont.nelson@mongodb.com>2020-02-27 19:11:42 -0500
commitca5da960a1d6ffddf281c0b448c229bed2d0e5fe (patch)
tree9b78f300c453005f0370a40de57f9cc5c5e9dcc2
parenta3daefcdf47cf392260b5f89053e34b740151b2b (diff)
downloadmongo-ca5da960a1d6ffddf281c0b448c229bed2d0e5fe.tar.gz
remove debug code
-rw-r--r--jstests/sharding/repl_monitor_refresh.js8
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;