summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvrachev <vlad.rachev@mongodb.com>2018-09-14 10:59:25 -0400
committervrachev <vlad.rachev@mongodb.com>2018-09-14 11:10:05 -0400
commit7087350d1d5c943520e9972ac1f8b85252c0eceb (patch)
treeea88ac631df41e23bb30f5f1af9ac35d40b379f3
parent2072abc1824e633bb0b0fdf330fb40fe410d5092 (diff)
downloadmongo-7087350d1d5c943520e9972ac1f8b85252c0eceb.tar.gz
SERVER-37071 Blacklist set7.js and max_doc_size.js from retryable_writes_jscore_stepdown_passthrough
-rw-r--r--buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml5
-rw-r--r--jstests/core/max_doc_size.js3
-rw-r--r--jstests/core/set7.js12
3 files changed, 15 insertions, 5 deletions
diff --git a/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml b/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml
index 6f5bd869a9f..326eec12c4c 100644
--- a/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/retryable_writes_jscore_stepdown_passthrough.yml
@@ -101,7 +101,7 @@ selector:
# interrupted by a stepdown"
- does_not_support_stepdowns
##
- # The next three tags correspond to the special errors thrown by the
+ # The next two tags correspond to the special errors thrown by the
# set_read_and_write_concerns.js override when it refuses to replace the readConcern or
# writeConcern of a particular command. Above each tag are the message(s) that cause the tag to be
# warranted.
@@ -110,6 +110,9 @@ selector:
- assumes_read_concern_unchanged
# "Cowardly refusing to override write concern of command: ..."
- assumes_write_concern_unchanged
+ ## The next tag corresponds to long running-operations, as they may exhaust their number
+ # of retries and result in a network error being thrown.
+ - operations_longer_than_stepdown_interval
executor:
archive:
diff --git a/jstests/core/max_doc_size.js b/jstests/core/max_doc_size.js
index 01ed3e8a99f..3ac7149f485 100644
--- a/jstests/core/max_doc_size.js
+++ b/jstests/core/max_doc_size.js
@@ -1,3 +1,6 @@
+// The {$set: {x: maxStr}}} update takes multiple seconds to execute.
+// @tags: [operations_longer_than_stepdown_interval]
+
/**
* Confirms that:
* - Documents at the maximum BSON size limit can be written and read back.
diff --git a/jstests/core/set7.js b/jstests/core/set7.js
index 3869ee70e50..64784a7216c 100644
--- a/jstests/core/set7.js
+++ b/jstests/core/set7.js
@@ -1,7 +1,11 @@
-// Cannot implicitly shard accessed collections because of following errmsg: A single
-// update/delete on a sharded collection must contain an exact match on _id or contain the shard
-// key.
-// @tags: [assumes_unsharded_collection]
+// @tags: [
+// # Cannot implicitly shard accessed collections because of following errmsg: A single
+// # update/delete on a sharded collection must contain an exact match on _id or contain
+// # the shard key.
+// assumes_unsharded_collection,
+// # The {$set: {"a.1500000": 1}} update takes multiple seconds to execute.
+// operations_longer_than_stepdown_interval,
+// ]
// test $set with array indicies