diff --git a/extensions/integration-tests/src/testConfig.ts b/extensions/integration-tests/src/testConfig.ts index f122c514dc..37bc66463f 100644 --- a/extensions/integration-tests/src/testConfig.ts +++ b/extensions/integration-tests/src/testConfig.ts @@ -60,9 +60,9 @@ var TestingServers: TestServerProfile[] = [ new TestServerProfile( { serverName: 'SQLTOOLS2017-3', - userName: '', - password: '', - authenticationType: AuthenticationType.Windows, + userName: process.env.STANDALONE_SQL_USERNAME, + password: process.env.STANDALONE_SQL_PWD, + authenticationType: AuthenticationType.SqlLogin, database: 'master', provider: ConnectionProvider.SQLServer, version: '2017' diff --git a/scripts/setbackendvariables.cmd b/scripts/setbackendvariables.cmd index ad254556a1..d4c000b3ee 100644 --- a/scripts/setbackendvariables.cmd +++ b/scripts/setbackendvariables.cmd @@ -1,7 +1,9 @@ @echo off pass in username password hostname of big data cluster, please use "" for BDC_BACKEND_HOSTNAME to include port. -@echo For example: setbackendvariables.cmd sa pwd "23.101.143.196,31433" C:\Users\yuronhe\azuredatastudio-python +@echo For example: setbackendvariables.cmd sa pwd "23.101.143.196,31433" pythonPath adstest standaloneSqlPwd set BDC_BACKEND_USERNAME=%~1 set BDC_BACKEND_PWD=%~2 set BDC_BACKEND_HOSTNAME=%~3 set PYTHON_TEST_PATH=%~4 -@echo No problem reading %BDC_BACKEND_USERNAME%, password, %BDC_BACKEND_HOSTNAME% and %PYTHON_TEST_PATH% \ No newline at end of file +set STANDALONE_SQL_USERNAME=%~5 +set STANDALONE_SQL_PWD=%~6 +@echo No problem reading %BDC_BACKEND_USERNAME%, password, %BDC_BACKEND_HOSTNAME%, %PYTHON_TEST_PATH%, %STANDALONE_SQL_USERNAME% and %STANDALONE_SQL_PWD% \ No newline at end of file diff --git a/scripts/setbackendvariables.sh b/scripts/setbackendvariables.sh index f6a66c2b6d..724a6622cb 100644 --- a/scripts/setbackendvariables.sh +++ b/scripts/setbackendvariables.sh @@ -3,5 +3,7 @@ export BDC_BACKEND_USERNAME=$1 export BDC_BACKEND_PWD=$2 export BDC_BACKEND_HOSTNAME=$3 export PYTHON_TEST_PATH=$4 -echo No problem reading $BDC_BACKEND_USERNAME, password, $BDC_BACKEND_HOSTNAME and $PYTHON_TEST_PATH +export STANDALONE_SQL_USERNAME=%~5 +export STANDALONE_SQL_PWD=%~6 +echo No problem reading $BDC_BACKEND_USERNAME, password, $BDC_BACKEND_HOSTNAME, $PYTHON_TEST_PATH, $STANDALONE_SQL_USERNAME and $STANDALONE_SQL_PWD set \ No newline at end of file