summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2018-05-17 15:18:27 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2018-06-04 19:15:25 -0400
commitc9da829e7970c83d0a46315da92b684f31e6da5c (patch)
tree4b628ac2108cb59a6fdb0648ac99e0edc55531cf /buildscripts
parentafc1761507fe6a36ba4ae8eca7c4375a153fff2e (diff)
downloadmongo-c9da829e7970c83d0a46315da92b684f31e6da5c.tar.gz
SERVER-34866 Blacklist/unblacklist tests in secondary_reads_passthrough
(cherry picked from commit e0dc0aa3413bd0b7eac071e85a28c344a4c094b9)
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokeconfig/suites/secondary_reads_passthrough.yml27
1 files changed, 7 insertions, 20 deletions
diff --git a/buildscripts/resmokeconfig/suites/secondary_reads_passthrough.yml b/buildscripts/resmokeconfig/suites/secondary_reads_passthrough.yml
index 8f1e0cb8483..f085503bcf8 100644
--- a/buildscripts/resmokeconfig/suites/secondary_reads_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/secondary_reads_passthrough.yml
@@ -48,6 +48,10 @@ selector:
- jstests/core/find_and_modify_concurrent_update.js
- jstests/core/shellstartparallel.js
- jstests/core/loadserverscripts.js
+ - jstests/core/evald.js
+ - jstests/core/fsync.js
+ # benchRun cannot be overridden to be causally consistent
+ - jstests/core/bench_test*.js
# getMore is not causal consistent because afterClusterTime has been specified
# by the preceding find command which establishes the cursor. Therefore,
# getMore cannot be guaranteed to get executed after commands in between find
@@ -64,19 +68,6 @@ selector:
exclude_with_any_tags:
##
- # The next three 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.
- ##
- # "Cowardly refusing to override read concern of command: ..."
- - assumes_read_concern_unchanged
- # "Cowardly refusing to override write concern of command: ..."
- - assumes_write_concern_unchanged
- # "Cowardly refusing to run test with overridden write concern when it uses a command that can
- # only perform w=1 writes: ..."
- - requires_eval_command
- ##
# The next tag corresponds to the special error thrown by the set_read_preference_secondary.js
# override when it refuses to replace the readPreference of a particular command. Above each tag
# are the message(s) that cause the tag to be warranted.
@@ -98,13 +89,8 @@ executor:
- ValidateCollections
config:
shell_options:
- global_vars:
- TestData:
- defaultReadConcernLevel: local
- defaultWriteConcern: {w: 1}
eval: >-
testingReplication = true;
- load('jstests/libs/override_methods/set_read_and_write_concerns.js');
load('jstests/libs/override_methods/set_read_preference_secondary.js');
load('jstests/libs/override_methods/enable_causal_consistency.js');
readMode: commands
@@ -124,8 +110,9 @@ executor:
enableTestCommands: 1
# Allow many initial sync attempts. Initial sync may fail if the sync source does not have
# an oplog yet because it has not conducted its own initial sync yet.
- # We turn on the noop writer to encourage successful sync source selection.
- numInitialSyncAttempts: 100
+ numInitialSyncAttempts: 10000000
+ # TODO SERVER-35156: Remove the following line to disable the periodic no-op
+ # writer.
writePeriodicNoops: true
linear_chain: true
num_nodes: 5