Skip to content

Commit fba5197

Browse files
No fg read without maxTimeMS
1 parent 03230f2 commit fba5197

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mongo/integration/csot_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func TestCSOT_maxTimeMS(t *testing.T) {
7777
},
7878
sendsMaxTimeMSWithTimeoutMS: true,
7979
sendsMaxTimeMSWithContextDeadline: false,
80-
preventsConnClosureWithTimeoutMS: true,
80+
preventsConnClosureWithTimeoutMS: false,
8181
},
8282
{
8383
desc: "FindOneAndDelete",
@@ -206,7 +206,7 @@ func TestCSOT_maxTimeMS(t *testing.T) {
206206
},
207207
sendsMaxTimeMSWithTimeoutMS: true,
208208
sendsMaxTimeMSWithContextDeadline: false,
209-
preventsConnClosureWithTimeoutMS: true,
209+
preventsConnClosureWithTimeoutMS: false,
210210
},
211211
{
212212
desc: "Watch",
@@ -220,7 +220,7 @@ func TestCSOT_maxTimeMS(t *testing.T) {
220220
},
221221
sendsMaxTimeMSWithTimeoutMS: true,
222222
sendsMaxTimeMSWithContextDeadline: true,
223-
preventsConnClosureWithTimeoutMS: true,
223+
preventsConnClosureWithTimeoutMS: false,
224224
// Change Streams aren't supported on standalone topologies.
225225
topologies: []mtest.TopologyKind{
226226
mtest.ReplicaSet,

0 commit comments

Comments
 (0)