Skip to content

Commit

Permalink
test: fix test failure on dropCollection for server 7.0 (#578)
Browse files Browse the repository at this point in the history
* test: fix test failure on dropCollection for server 7.0

* docs: update comment

* test: skip the test
  • Loading branch information
alenakhineika authored Aug 15, 2023
1 parent 38ac0dd commit 353ec5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/suite/mdbExtensionController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 353ec5f

Please sign in to comment.