summaryrefslogtreecommitdiff
path: root/jstests/sharding/timeseries_multiple_mongos.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/timeseries_multiple_mongos.js')
-rw-r--r--jstests/sharding/timeseries_multiple_mongos.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/jstests/sharding/timeseries_multiple_mongos.js b/jstests/sharding/timeseries_multiple_mongos.js
index 3bb0a6ea929..761d5f404ee 100644
--- a/jstests/sharding/timeseries_multiple_mongos.js
+++ b/jstests/sharding/timeseries_multiple_mongos.js
@@ -171,10 +171,9 @@ runTest({
shardKey: {[metaField]: 1},
cmdObj: {
dropIndexes: collName,
- index: {[metaField]: 1},
+ index: "*",
},
- numProfilerEntries:
- {sharded: 2, unsharded: 0 /* command fails when trying to drop a missing index */}
+ numProfilerEntries: {sharded: 2, unsharded: 1}
});
runTest({
@@ -229,10 +228,9 @@ runTest({
shardKey: {[metaField]: 1},
cmdObj: {
dropIndexes: bucketsCollName,
- index: {meta: 1},
+ index: "*",
},
- numProfilerEntries:
- {sharded: 2, unsharded: 0 /* command fails when trying to drop a missing index */},
+ numProfilerEntries: {sharded: 2, unsharded: 1},
});
runTest({