From aff08f0357b29a7ab03bd7d548c8c677ad0432c7 Mon Sep 17 00:00:00 2001 From: David Storch Date: Tue, 23 Feb 2021 19:24:05 -0500 Subject: SERVER-49385 Make SBE fail cleanly when required index is dropped while yielded --- jstests/aggregation/bugs/server14969.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'jstests/aggregation/bugs') diff --git a/jstests/aggregation/bugs/server14969.js b/jstests/aggregation/bugs/server14969.js index 15fd423f44a..cb94e9af05a 100644 --- a/jstests/aggregation/bugs/server14969.js +++ b/jstests/aggregation/bugs/server14969.js @@ -1,7 +1,7 @@ // Test dropping an index that is being used by an agg pipeline. -// @tags: [ -// sbe_incompatible, -// ] +(function() { +"use strict"; + var coll = db.server14969; var docsPerBatch = 3; coll.drop(); @@ -33,3 +33,4 @@ try { // Verify that the server hasn't crashed. assert.commandWorked(db.adminCommand({ping: 1})); +}()); -- cgit v1.2.1