diff options
author | Ian Boros <ian.boros@mongodb.com> | 2021-04-27 17:11:16 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-28 23:42:15 +0000 |
commit | 64c485b5e1582af642b9a2e603e4277865b8c7dc (patch) | |
tree | 3872b10d49e4b7f9000ae34ece9e610e123d5611 | |
parent | 136fa52193c342038b3fa35152fa1ed3dee4ee87 (diff) | |
download | mongo-64c485b5e1582af642b9a2e603e4277865b8c7dc.tar.gz |
SERVER-54598 Disable write_conflict_wildcard when SBE is enabled
-rw-r--r-- | jstests/noPassthrough/write_conflict_wildcard.js | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/jstests/noPassthrough/write_conflict_wildcard.js b/jstests/noPassthrough/write_conflict_wildcard.js index 137c1ab010c..6d221a770e6 100644 --- a/jstests/noPassthrough/write_conflict_wildcard.js +++ b/jstests/noPassthrough/write_conflict_wildcard.js @@ -1,16 +1,24 @@ /** * Tests that wildcard indexes are prepared to handle and retry WriteConflictExceptions while * interacting with the storage layer to retrieve multikey paths. - * @tags: [ - * sbe_incompatible, - * ] + * + * TODO SERVER-56443: This test is specific to the classic engine. If/when the classic engine is + * deleted, this test should be removed as well. */ (function() { "strict"; +load("jstests/libs/sbe_util.js"); + const conn = MongoRunner.runMongod(); const testDB = conn.getDB("test"); +if (checkSBEEnabled(testDB)) { + jsTestLog("Skipping test as SBE is not resilient to WCEs"); + MongoRunner.stopMongod(conn); + return; +} + const coll = testDB.write_conflict_wildcard; coll.drop(); |