Use test.skip instead of commenting out disabled test (#7338)

* Use test.skip instead of commenting out disabled test

* Also disable OE test
This commit is contained in:
Charles Gagnon
2019-09-24 11:13:25 -07:00
committed by GitHub
parent 89c1c4897a
commit 26072af82f
2 changed files with 3 additions and 5 deletions

View File

@@ -62,12 +62,11 @@ if (context.RunTest) {
} }
}); });
/*
// Disabling due to intermittent failure with error Editor is not connected // Disabling due to intermittent failure with error Editor is not connected
// Tracking bug https://github.com/microsoft/azuredatastudio/issues/7323 // Tracking bug https://github.com/microsoft/azuredatastudio/issues/7323
const bacpac1: string = path.join(__dirname, '../testData/Database1.bacpac'); const bacpac1: string = path.join(__dirname, '..', 'testData', 'Database1.bacpac');
test('Import and export bacpac', async function () { test.skip('Import and export bacpac', async function () {
const server = await getStandaloneServer(); const server = await getStandaloneServer();
await utils.connectToServer(server); await utils.connectToServer(server);
@@ -101,6 +100,5 @@ if (context.RunTest) {
await utils.deleteDB(server, databaseName, ownerUri); await utils.deleteDB(server, databaseName, ownerUri);
} }
}); });
*/
}); });
} }

View File

@@ -30,7 +30,7 @@ if (context.RunTest) {
test('Azure SQL DB context menu test', async function () { test('Azure SQL DB context menu test', async function () {
await (new ObjectExplorerTester()).sqlDbContextMenuTest(); 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(); await (new ObjectExplorerTester()).standaloneContextMenuTest();
}); });
}); });