From 26072af82fe3e07d8b7b0da9dcaa3a2dd01b5986 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Tue, 24 Sep 2019 11:13:25 -0700 Subject: [PATCH] Use test.skip instead of commenting out disabled test (#7338) * Use test.skip instead of commenting out disabled test * Also disable OE test --- extensions/integration-tests/src/dacpac.test.ts | 6 ++---- extensions/integration-tests/src/objectExplorer.test.ts | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/extensions/integration-tests/src/dacpac.test.ts b/extensions/integration-tests/src/dacpac.test.ts index 0c320c3407..1d66f8ab50 100644 --- a/extensions/integration-tests/src/dacpac.test.ts +++ b/extensions/integration-tests/src/dacpac.test.ts @@ -62,12 +62,11 @@ if (context.RunTest) { } }); - /* // Disabling due to intermittent failure with error Editor is not connected // Tracking bug https://github.com/microsoft/azuredatastudio/issues/7323 - const bacpac1: string = path.join(__dirname, '../testData/Database1.bacpac'); - test('Import and export bacpac', async function () { + const bacpac1: string = path.join(__dirname, '..', 'testData', 'Database1.bacpac'); + test.skip('Import and export bacpac', async function () { const server = await getStandaloneServer(); await utils.connectToServer(server); @@ -101,6 +100,5 @@ if (context.RunTest) { await utils.deleteDB(server, databaseName, ownerUri); } }); - */ }); } diff --git a/extensions/integration-tests/src/objectExplorer.test.ts b/extensions/integration-tests/src/objectExplorer.test.ts index 65854e778c..11a034c80f 100644 --- a/extensions/integration-tests/src/objectExplorer.test.ts +++ b/extensions/integration-tests/src/objectExplorer.test.ts @@ -30,7 +30,7 @@ if (context.RunTest) { test('Azure SQL DB context menu test', async function () { await (new ObjectExplorerTester()).sqlDbContextMenuTest(); }); - test('Standalone database context menu test', async function () { + test.skip('Standalone database context menu test', async function () { await (new ObjectExplorerTester()).standaloneContextMenuTest(); }); });