Skip to content

Commit 9063534

Browse files
committed
test: skip breaking csot test on latest
1 parent 1ea3a41 commit 9063534

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/integration/client-side-operations-timeout/node_csot.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,8 @@ describe('CSOT driver tests', metadata, () => {
13591359
});
13601360
});
13611361

1362-
describe('Connection after timeout', { requires: { mongodb: '>=4.4' } }, function () {
1362+
// TODO(NODE-7118): Find a way to reimplement this test for latest server.
1363+
describe.skip('Connection after timeout', { requires: { mongodb: '>=4.4' } }, function () {
13631364
let client: MongoClient;
13641365

13651366
beforeEach(async function () {
@@ -1395,6 +1396,8 @@ describe('CSOT driver tests', metadata, () => {
13951396
.insertOne({})
13961397
.catch(error => error);
13971398

1399+
// Note: In the case where the timeout comes from the server, the driver does not
1400+
// need to close the connection as no more potential messages are expected.
13981401
expect(error).to.be.instanceOf(MongoOperationTimeoutError);
13991402
expect(cmap).to.have.lengthOf(2);
14001403

0 commit comments

Comments
 (0)