Re-enable some unstable tests (#13944)

* Re-enable some unstable tests

* Remove some tests that have failed recently
This commit is contained in:
Charles Gagnon
2021-01-13 15:36:58 -08:00
committed by GitHub
parent 1d42431914
commit 8ef9b1cc1f
3 changed files with 6 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ suite('Dacpac integration test suite @DacFx@', () => {
console.log(`Start dacpac tests`);
});
test('Deploy and extract dacpac @UNSTABLE@', async function () {
test('Deploy and extract dacpac', async function () {
this.timeout(5 * 60 * 1000);
const server = await getStandaloneServer();
const connectionId = await utils.connectToServer(server);
@@ -71,7 +71,7 @@ suite('Dacpac integration test suite @DacFx@', () => {
});
const bacpac1: string = path.join(__dirname, '..', '..', 'testData', 'Database1.bacpac');
test('Import and export bacpac @UNSTABLE@', async function () {
test('Import and export bacpac', async function () {
this.timeout(5 * 60 * 1000);
const server = await getStandaloneServer();
await utils.connectToServer(server);

View File

@@ -55,7 +55,7 @@ suite('Notebook integration test suite', function () {
assert(actualOutput2[0] === '1', `Expected result: 1, Actual: '${actualOutput2[0]}'`);
});
test('Sql NB multiple cells test @UNSTABLE@', async function () {
test('Sql NB multiple cells test', async function () {
let notebook = await openNotebook(sqlNotebookMultipleCellsContent, sqlKernelMetadata, this.test.title + this.invocationCount++);
await runCells(notebook);
const expectedOutput0 = '(1 row affected)';
@@ -128,8 +128,7 @@ suite('Notebook integration test suite', function () {
});
});
// TODO: Need to make this test more reliable.
test('should not be dirty after saving notebook test @UNSTABLE@', async function () {
test('should not be dirty after saving notebook test', async function () {
// Given a notebook that's been edited (in this case, open notebook runs the 1st cell and adds an output)
let notebook = await openNotebook(sqlNotebookContent, sqlKernelMetadata, this.test.title);
await runCell(notebook);

View File

@@ -39,7 +39,7 @@ suite('Schema compare integration test suite @DacFx@', () => {
dacfxService = ((await vscode.extensions.getExtension(mssql.extension.name).activate() as mssql.IExtension)).dacFx;
console.log(`Start schema compare tests`);
});
test('Schema compare dacpac to dacpac comparison and scmp @UNSTABLE@', async function () {
test('Schema compare dacpac to dacpac comparison and scmp', async function () {
this.timeout(5 * 60 * 1000);
assert(schemaCompareService, 'Schema Compare Service Provider is not available');
const now = new Date();
@@ -214,7 +214,7 @@ suite('Schema compare integration test suite @DacFx@', () => {
await utils.tryDeleteDB(server, targetDB, ownerUri);
}
});
test('Schema compare dacpac to dacpac comparison with include exclude @UNSTABLE@', async function () {
test('Schema compare dacpac to dacpac comparison with include exclude', async function () {
this.timeout(5 * 60 * 1000);
assert(schemaCompareService, 'Schema Compare Service Provider is not available');
const operationId = 'testOperationId_' + new Date().getTime().toString();