From e69c967ff8b53634770438dfe9a5c7d13548351b Mon Sep 17 00:00:00 2001 From: Rishab Joshi Date: Tue, 10 Nov 2020 13:42:25 +0000 Subject: SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell --- jstests/core/in4.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jstests/core/in4.js') diff --git a/jstests/core/in4.js b/jstests/core/in4.js index df9eea2577b..e916ca7c82d 100644 --- a/jstests/core/in4.js +++ b/jstests/core/in4.js @@ -33,5 +33,5 @@ function doTest() { doTest(); // SERVER-1943 not fixed yet -t.ensureIndex({key: 1}); +t.createIndex({key: 1}); doTest(); -- cgit v1.2.1