diff options
Diffstat (limited to 'jstests/sharding/change_stream_lookup_single_shard_cluster.js')
-rw-r--r-- | jstests/sharding/change_stream_lookup_single_shard_cluster.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jstests/sharding/change_stream_lookup_single_shard_cluster.js b/jstests/sharding/change_stream_lookup_single_shard_cluster.js index ac00ea33d34..60ded0f352d 100644 --- a/jstests/sharding/change_stream_lookup_single_shard_cluster.js +++ b/jstests/sharding/change_stream_lookup_single_shard_cluster.js @@ -8,6 +8,14 @@ // For supportsMajorityReadConcern. load('jstests/multiVersion/libs/causal_consistency_helpers.js'); + // TODO (SERVER-38673): Remove this once BACKPORT-3428, BACKPORT-3429 are completed. + if (!jsTestOptions().enableMajorityReadConcern && + jsTestOptions().mongosBinVersion === 'last-stable') { + jsTestLog( + "Skipping test since 'last-stable' mongos doesn't support speculative majority update lookup queries."); + return; + } + // This test only works on storage engines that support committed reads, skip it if the // configured engine doesn't support it. if (!supportsMajorityReadConcern()) { |