Skip to content

Commit 9fcb96a

Browse files
committed
2706 again
1 parent c0191dc commit 9fcb96a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spec/integration/crud_spec.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@
157157
context 'with read preference specified on operation level' do
158158
require_topology :sharded
159159

160+
# RUBY-2706
161+
min_server_fcv '3.6'
162+
160163
it 'passes the read preference' do
161164
event = Utils.get_command_event(client, 'explain') do |client|
162165
client['foo'].find({}, read: {mode: :secondary_preferred}).explain.should be_explain_output
@@ -168,6 +171,9 @@
168171
context 'with read preference specified on collection level' do
169172
require_topology :sharded
170173

174+
# RUBY-2706
175+
min_server_fcv '3.6'
176+
171177
it 'passes the read preference' do
172178
event = Utils.get_command_event(client, 'explain') do |client|
173179
client['foo', read: {mode: :secondary_preferred}].find.explain.should be_explain_output
@@ -179,6 +185,9 @@
179185
context 'with read preference specified on client level' do
180186
require_topology :sharded
181187

188+
# RUBY-2706
189+
min_server_fcv '3.6'
190+
182191
let(:client) { authorized_client.with(read: {mode: :secondary_preferred}) }
183192

184193
it 'passes the read preference' do

0 commit comments

Comments
 (0)