Skip to content

Commit 3a77f5c

Browse files
committed
chore: need to test on streaming server versions
1 parent 1ebadc6 commit 3a77f5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/connection-monitoring-and-pooling/connection.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ describe('Connection', function () {
251251

252252
describe(
253253
'when a monitoring Connection receives many hellos in one chunk',
254-
{ requires: { topology: 'replicaset' } },
254+
{ requires: { topology: 'replicaset', mongodb: '>=4.4' } }, // need to be on a streaming hello version
255255
function () {
256256
let client: MongoClient;
257257
let hbSuccess = 0;
@@ -271,7 +271,7 @@ describe('Connection', function () {
271271
// This test exists to prevent regression of processing many messages inside one chunk.
272272
it(
273273
'processes all of them and emits heartbeats',
274-
{ requires: { topology: 'replicaset' } },
274+
{ requires: { topology: 'replicaset', mongodb: '>=4.4' } },
275275
async function () {
276276
expect(hbSuccess).to.equal(0);
277277

0 commit comments

Comments
 (0)