Skip to content

Commit 99cfc3b

Browse files
committed
Update database spec to not rely on OperationFailure when w > num of members in a replica set
1 parent 79d50fd commit 99cfc3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mongo/database_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
client.database
427427
end
428428

429-
context 'when the server supports write concern on the dropDatabase command', if: collation_enabled? do
429+
context 'when the server supports write concern on the dropDatabase command', if: (collation_enabled? && standalone?) do
430430

431431
it 'applies the write concern' do
432432
expect{

0 commit comments

Comments
 (0)