Skip to content

Commit b937e52

Browse files
committed
Fix map reduce test because error is not raised for replica set members when w > num of members
1 parent d3234c4 commit b937e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mongo/collection/view/map_reduce_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348

349349
shared_examples_for 'map reduce that writes accepting write concern' do
350350

351-
context 'when the server supports write concern on the mapReduce command', if: collation_enabled? do
351+
context 'when the server supports write concern on the mapReduce command', if: (collation_enabled? && standalone?) do
352352

353353
it 'uses the write concern' do
354354
expect {

0 commit comments

Comments
 (0)