summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2023-02-11 08:31:15 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-02-11 14:20:31 +0000
commitb9d7c6871a0092dfab13d5f78e95e03d9ef7cf78 (patch)
tree3d6383c8f3ee237c1f41b832096dccdb4a2f7c85
parentf63255ee677ecae5896d6f35dd712ed60ae8c39a (diff)
downloadmongo-b9d7c6871a0092dfab13d5f78e95e03d9ef7cf78.tar.gz
SERVER-73874 remove unused variables in initial_sync_index_conflict.js
-rw-r--r--jstests/replsets/initial_sync_index_conflict.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/jstests/replsets/initial_sync_index_conflict.js b/jstests/replsets/initial_sync_index_conflict.js
index 3366accbbdc..312b2a4ff76 100644
--- a/jstests/replsets/initial_sync_index_conflict.js
+++ b/jstests/replsets/initial_sync_index_conflict.js
@@ -27,8 +27,6 @@ const secondary = rst.add({
rsConfig: {votes: 0, priority: 0},
setParameter: {numInitialSyncAttempts: 1},
});
-secondary.setSecondaryOk();
-const secondaryColl = secondary.getDB(dbName).getCollection(collectionName);
// While the secondary is hung, we create the same index multiple times to
// reproduce the interaction between single and two phase index builds on the