diff options
author | William Schultz <william.schultz@mongodb.com> | 2019-01-11 15:06:38 -0500 |
---|---|---|
committer | William Schultz <william.schultz@mongodb.com> | 2019-01-11 15:06:38 -0500 |
commit | 59417629ec2f4987d77c504da8a33a10bdfd50be (patch) | |
tree | 9ee9bf372d3fb4ff986f5328390ab9742b929bac | |
parent | a3170e3e75007c037acbc72de09ec5d39313e2b5 (diff) | |
download | mongo-59417629ec2f4987d77c504da8a33a10bdfd50be.tar.gz |
SERVER-38941 Blacklist change streams speculative majority tests from ephemeralForTest variants
6 files changed, 12 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 6518e781e45..55a9d3ba53e 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -13016,7 +13016,8 @@ buildvariants: batchtime: 1440 # 1 day expansions: # Transactions are not explicitly supported on the ephemeralForTest storage engine. - test_flags: --storageEngine=ephemeralForTest --excludeWithAnyTags=requires_persistence,requires_fsync,SERVER-21420,SERVER-21658,requires_journaling,requires_wiredtiger,uses_transactions,requires_document_locking + # Speculative majority reads are currently only allowed for change streams, which are only supported on WiredTiger. + test_flags: --storageEngine=ephemeralForTest --excludeWithAnyTags=requires_persistence,requires_fsync,SERVER-21420,SERVER-21658,requires_journaling,requires_wiredtiger,uses_transactions,requires_document_locking,uses_speculative_majority compile_flags: -j$(grep -c ^processor /proc/cpuinfo) --dbg=off --opt=on --variables-files=etc/scons/mongodbtoolchain_gcc.vars scons_cache_scope: shared tooltags: "" diff --git a/jstests/replsets/change_stream_speculative_majority.js b/jstests/replsets/change_stream_speculative_majority.js index abd08675bee..f8833c7963f 100644 --- a/jstests/replsets/change_stream_speculative_majority.js +++ b/jstests/replsets/change_stream_speculative_majority.js @@ -1,5 +1,7 @@ /** * Test basic, steady-state replication change stream functionality with speculative majority reads. + * + * @tags: [uses_speculative_majority] */ (function() { "use strict"; diff --git a/jstests/replsets/change_stream_speculative_majority_latest_oplog_timestamp.js b/jstests/replsets/change_stream_speculative_majority_latest_oplog_timestamp.js index 01359b1caa9..4e1fe2179f5 100644 --- a/jstests/replsets/change_stream_speculative_majority_latest_oplog_timestamp.js +++ b/jstests/replsets/change_stream_speculative_majority_latest_oplog_timestamp.js @@ -8,6 +8,8 @@ * that no new change events will occur at a lesser timestamp. This guarantee is only valid if the * timestamp is actually majority committed, so we need to make sure that guarantee holds, even when * using speculative majority. + * + * @tags: [uses_speculative_majority] */ (function() { "use strict"; diff --git a/jstests/replsets/change_stream_speculative_majority_rollback.js b/jstests/replsets/change_stream_speculative_majority_rollback.js index 104269ff8a3..c846bcd8bd9 100644 --- a/jstests/replsets/change_stream_speculative_majority_rollback.js +++ b/jstests/replsets/change_stream_speculative_majority_rollback.js @@ -1,5 +1,7 @@ /** * Test change stream behavior with speculative majority reads in the face of replication rollback. + * + * @tags: [uses_speculative_majority] */ (function() { 'use strict'; diff --git a/jstests/replsets/speculative_majority_find.js b/jstests/replsets/speculative_majority_find.js index e6c3a41ef88..fecfbf5dea1 100644 --- a/jstests/replsets/speculative_majority_find.js +++ b/jstests/replsets/speculative_majority_find.js @@ -6,6 +6,8 @@ * committed data, we just read the newest data available on a node, and then, before returning to a * client, block until we know the data has become majority committed. Currently this is an internal * feature used only by change streams. + * + * @tags: [uses_speculative_majority] */ (function() { "use strict"; diff --git a/jstests/replsets/speculative_majority_supported_commands.js b/jstests/replsets/speculative_majority_supported_commands.js index ad8d898dbf9..26fd40aa244 100644 --- a/jstests/replsets/speculative_majority_supported_commands.js +++ b/jstests/replsets/speculative_majority_supported_commands.js @@ -3,6 +3,8 @@ * * Currently, only change stream aggregation commands and the 'find' command with the * 'allowSpeculativeMajorityRead' flag are permitted. + * + * @tags: [uses_speculative_majority] */ (function() { "use strict"; |