Skip to content

Commit 353ec5f

Browse files
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
1 parent 38ac0dd commit 353ec5f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/suite/mdbExtensionController.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,9 @@ suite('MDBExtensionController Test Suite', function () {
697697
assert.strictEqual(calledNamespace, 'testDbName.testColName');
698698
});
699699

700-
test('mdb.dropCollection fails when a collection does not exist', async () => {
700+
// Starting server 7.0, the outcome of dropping nonexistent collections is successful SERVER-43894
701+
// TODO: update or delete the test according to VSCODE-461
702+
test.skip('mdb.dropCollection fails when a collection does not exist', async () => {
701703
const testConnectionController =
702704
mdbTestExtension.testExtensionController._connectionController;
703705
await testConnectionController.addNewConnectionStringAndConnect(

0 commit comments

Comments
 (0)