summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/randomized_mixed_type_bug.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/randomized_mixed_type_bug.js')
-rw-r--r--jstests/noPassthroughWithMongod/randomized_mixed_type_bug.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthroughWithMongod/randomized_mixed_type_bug.js b/jstests/noPassthroughWithMongod/randomized_mixed_type_bug.js
index dfa70c375b1..9804c41cea4 100644
--- a/jstests/noPassthroughWithMongod/randomized_mixed_type_bug.js
+++ b/jstests/noPassthroughWithMongod/randomized_mixed_type_bug.js
@@ -62,10 +62,10 @@ let testMixedTypeQuerying = () => {
// Compare the results.
try {
assert.docEq(
- // Is timeseries.
- db.test.find({[path]: {[compare]: val}}, {_id: 0}).toArray(),
// Isn't timeseries.
- db.control.find({[path]: {[compare]: val}}, {_id: 0}).toArray());
+ db.control.find({[path]: {[compare]: val}}, {_id: 0}).toArray(),
+ // Is timeseries.
+ db.test.find({[path]: {[compare]: val}}, {_id: 0}).toArray());
return true;
} catch (e) {
printjson(