From 353ec5fe0e80d6a45779bf384f81ee56f3e8d62d Mon Sep 17 00:00:00 2001 From: Alena Khineika Date: Tue, 15 Aug 2023 14:45:26 +0200 Subject: [PATCH] test: fix test failure on dropCollection for server 7.0 (#578) * test: fix test failure on dropCollection for server 7.0 * docs: update comment * test: skip the test --- src/test/suite/mdbExtensionController.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/suite/mdbExtensionController.test.ts b/src/test/suite/mdbExtensionController.test.ts index 1efe137d9..fa6101f44 100644 --- a/src/test/suite/mdbExtensionController.test.ts +++ b/src/test/suite/mdbExtensionController.test.ts @@ -697,7 +697,9 @@ suite('MDBExtensionController Test Suite', function () { assert.strictEqual(calledNamespace, 'testDbName.testColName'); }); - test('mdb.dropCollection fails when a collection does not exist', async () => { + // Starting server 7.0, the outcome of dropping nonexistent collections is successful SERVER-43894 + // TODO: update or delete the test according to VSCODE-461 + test.skip('mdb.dropCollection fails when a collection does not exist', async () => { const testConnectionController = mdbTestExtension.testExtensionController._connectionController; await testConnectionController.addNewConnectionStringAndConnect(