summaryrefslogtreecommitdiff
path: root/jstests/concurrency
diff options
context:
space:
mode:
authorAnton Korshunov <anton.korshunov@mongodb.com>2019-06-24 14:35:15 +0100
committerAnton Korshunov <anton.korshunov@mongodb.com>2019-06-26 14:27:38 +0100
commitd19037b0a7649db4474712080e92c6bbc0828d01 (patch)
tree6b8b4f51980a35f19e59979c4fad070cb4cb7bcd /jstests/concurrency
parentc811ad9650058ac26118f8dbddd96a08d4e50eec (diff)
downloadmongo-d19037b0a7649db4474712080e92c6bbc0828d01.tar.gz
SERVER-41880 Blacklist schema_validator_with_expr_variables.js from running on inMemory variant
Diffstat (limited to 'jstests/concurrency')
-rw-r--r--jstests/concurrency/fsm_workloads/schema_validator_with_expr_variables.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/jstests/concurrency/fsm_workloads/schema_validator_with_expr_variables.js b/jstests/concurrency/fsm_workloads/schema_validator_with_expr_variables.js
index ea847215a29..c84efd78e2c 100644
--- a/jstests/concurrency/fsm_workloads/schema_validator_with_expr_variables.js
+++ b/jstests/concurrency/fsm_workloads/schema_validator_with_expr_variables.js
@@ -1,7 +1,12 @@
/**
* Test to verify that the schema validator works correctly in a multi-threaded environment, when
* $expr uses expressions which mutate variable values while executing ($let, $map etc).
- * @tags: [requires_non_retryable_writes]
+ *
+ * Marked as 'requires_persistence' to prevent the test from running on 'inMemory' variant, because
+ * the test generates a large oplog and 'inMemory' instances have limited resources to accommodate
+ * all nodes in the replica set (which all run in the same instance), so it may fail with the OOM
+ * error.
+ * @tags: [requires_non_retryable_writes, requires_persistence]
*/
"use strict";