check setting directly to avoid value reset (#8583)

This commit is contained in:
Alan Ren
2019-12-05 15:57:13 -08:00
committed by GitHub
parent 0bf4790a64
commit 3de95af25c
8 changed files with 17 additions and 24 deletions

View File

@@ -11,13 +11,13 @@ import * as fs from 'fs';
import * as os from 'os';
import * as mssql from '../../mssql';
import * as vscode from 'vscode';
import { context } from './testContext';
import { isTestSetupCompleted } from './testContext';
import { getStandaloneServer } from './testConfig';
import * as assert from 'assert';
const retryCount = 24; // 2 minutes
const dacpac1: string = path.join(__dirname, '../testData/Database1.dacpac');
if (context.RunTest) {
if (isTestSetupCompleted()) {
suite('Dacpac integration test suite', () => {
suiteSetup(async function () {
await utils.sleep(5000); // To ensure the providers are registered.