summaryrefslogtreecommitdiff
path: root/jstests/concurrency
diff options
context:
space:
mode:
authorJames Wahlin <james@mongodb.com>2020-03-06 15:33:37 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-09 13:35:51 +0000
commit8a9d5677f500293448311e6c551549b60cbfc780 (patch)
tree24abe32ca873be2453c4ac4d2c7cab38b27537ce /jstests/concurrency
parent340c085a7fd3e589442bce69db86d51cae1e82a6 (diff)
downloadmongo-8a9d5677f500293448311e6c551549b60cbfc780.tar.gz
SERVER-46227 MozJSImplScope::kill() check for "correct thread" will always fail
Diffstat (limited to 'jstests/concurrency')
-rw-r--r--jstests/concurrency/fsm_workloads/server_status_with_time_out_cursors.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/jstests/concurrency/fsm_workloads/server_status_with_time_out_cursors.js b/jstests/concurrency/fsm_workloads/server_status_with_time_out_cursors.js
index cfa1876def0..39452ab2217 100644
--- a/jstests/concurrency/fsm_workloads/server_status_with_time_out_cursors.js
+++ b/jstests/concurrency/fsm_workloads/server_status_with_time_out_cursors.js
@@ -35,13 +35,8 @@ var $config = (function() {
const c = curs.itcount();
} catch (e) {
- // TODO SERVER-46227: Remove "ErrorCodes.Interrupted" once we are correctly checking
- // the OperationContext for kill reason in MozJSImplScope::kill().
- assert.commandFailedWithCode(e, [
- ErrorCodes.MaxTimeMSExpired,
- ErrorCodes.NetworkInterfaceExceededTimeLimit,
- ErrorCodes.Interrupted
- ]);
+ assert.commandFailedWithCode(
+ e, [ErrorCodes.MaxTimeMSExpired, ErrorCodes.NetworkInterfaceExceededTimeLimit]);
}
},