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

@@ -9,7 +9,7 @@ import * as azdata from 'azdata';
import * as mssql from '../../mssql';
import * as utils from './utils';
import * as uuid from './uuid';
import { context } from './testContext';
import { isTestSetupCompleted } from './testContext';
import assert = require('assert');
import { getStandaloneServer, TestServerProfile, getBdcServer } from './testConfig';
@@ -23,7 +23,7 @@ const TEST_CMS_GROUP = `adsTestCmsGroup_${uuid.v4()}`;
const TEST_CMS_SERVER = `adsTestCmsServer_${uuid.v4()}`;
const TEST_CMS_REG_SERVER = `adsTestCmsRegisteredServer_${uuid.v4()}`;
if (context.RunTest) {
if (isTestSetupCompleted()) {
suite('CMS integration test suite', () => {
setup(async function () {