summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/hybrid_geo_index_remove_invalid_doc.js
blob: 21523a3e8144d1fff2e737dcd03d1100d0331091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * Tests that building geo indexes using the hybrid method handles the unindexing of invalid
 * geo documents.
 *
 * @tags: [
 *   requires_replication,
 * ]
 */

(function() {
'use strict';

load('jstests/noPassthrough/libs/hybrid_geo_index.js');

const options = {};

const invalidKey = 0;
const validKey = 1;

HybridGeoIndexTest.run(options, options, invalidKey, validKey, Operation.REMOVE);
})();