diff options
author | Jennifer Peshansky <jennifer.peshansky@mongodb.com> | 2021-12-16 21:50:08 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-22 00:01:32 +0000 |
commit | 43cf0229ed3b2c91ae7357991a480b3fc806677c (patch) | |
tree | bd5942053b4e609a27a8b76f3a04051ec686f912 | |
parent | 1807878be48906cc119a3a6e80ab379cb886bf61 (diff) | |
download | mongo-43cf0229ed3b2c91ae7357991a480b3fc806677c.tar.gz |
SERVER-62113 Ignore IndexBuildAborted errors when building indexes in find_flip_sbe_enabled.js
-rw-r--r-- | jstests/concurrency/fsm_workloads/find_flip_sbe_enabled.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/concurrency/fsm_workloads/find_flip_sbe_enabled.js b/jstests/concurrency/fsm_workloads/find_flip_sbe_enabled.js index 2759d3550bd..67883f034cc 100644 --- a/jstests/concurrency/fsm_workloads/find_flip_sbe_enabled.js +++ b/jstests/concurrency/fsm_workloads/find_flip_sbe_enabled.js @@ -66,7 +66,8 @@ var $config = (function() { function createIndex(db, collName) { const coll = db.getCollection(getCollectionName(collName)); const res = coll.createIndex({z: 1}); - assertAlways(res.ok === 1 || res.code === ErrorCodes.IndexBuildAlreadyInProgress, + assertAlways(res.ok === 1 || res.code === ErrorCodes.IndexBuildAlreadyInProgress || + res.code == ErrorCodes.IndexBuildAborted, "Create index failed: " + tojson(res)); } |