summaryrefslogtreecommitdiff
path: root/jstests/concurrency/fsm_workloads/invalidated_cursors.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/concurrency/fsm_workloads/invalidated_cursors.js')
-rw-r--r--jstests/concurrency/fsm_workloads/invalidated_cursors.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/jstests/concurrency/fsm_workloads/invalidated_cursors.js b/jstests/concurrency/fsm_workloads/invalidated_cursors.js
index 777ee30eab1..58a3f007aaa 100644
--- a/jstests/concurrency/fsm_workloads/invalidated_cursors.js
+++ b/jstests/concurrency/fsm_workloads/invalidated_cursors.js
@@ -13,7 +13,6 @@
load('jstests/concurrency/fsm_workload_helpers/server_types.js'); // for isMongos
var $config = (function() {
-
let data = {
chooseRandomlyFrom: function chooseRandomlyFrom(arr) {
if (!Array.isArray(arr)) {
@@ -162,11 +161,11 @@ var $config = (function() {
// killOp.
assertAlways.contains(e.code,
[
- ErrorCodes.OperationFailed,
- ErrorCodes.QueryPlanKilled,
- ErrorCodes.CursorNotFound,
- ErrorCodes.CursorKilled,
- ErrorCodes.Interrupted,
+ ErrorCodes.OperationFailed,
+ ErrorCodes.QueryPlanKilled,
+ ErrorCodes.CursorNotFound,
+ ErrorCodes.CursorKilled,
+ ErrorCodes.Interrupted,
],
'unexpected error code: ' + e.code + ': ' + e.message);
}