summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2020-03-16 16:42:50 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-16 21:03:37 +0000
commit296e2e9bdc887088db9e89558156bcc1913bd75b (patch)
treeeaf3cdd2c315ddbb4b5be221730eb69bc62e9912 /jstests
parent1d7a3ac66dba90bca58222b8df1f640f0acdb88a (diff)
downloadmongo-296e2e9bdc887088db9e89558156bcc1913bd75b.tar.gz
SERVER-46872 Tolerate NoProgressMade response in yield_with_drop.js.
It is possible for mongos to fail to upsert the document because a shard responds with a CannotImplicitlyCreateCollection error response after the collection has been dropped. (cherry picked from commit 66a6a29c5fae2a365c22b39f445c871e97a1e8a1)
Diffstat (limited to 'jstests')
-rw-r--r--jstests/concurrency/fsm_workloads/yield_with_drop.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/concurrency/fsm_workloads/yield_with_drop.js b/jstests/concurrency/fsm_workloads/yield_with_drop.js
index e85e412ffc7..59911b86541 100644
--- a/jstests/concurrency/fsm_workloads/yield_with_drop.js
+++ b/jstests/concurrency/fsm_workloads/yield_with_drop.js
@@ -11,6 +11,7 @@ var $config = (function() {
ErrorCodes.CursorNotFound,
ErrorCodes.DuplicateKey,
ErrorCodes.IndexBuildAborted,
+ ErrorCodes.NoProgressMade,
ErrorCodes.OperationFailed,
ErrorCodes.QueryPlanKilled,
],