mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Change standalone integration test to use sql login (#4728)
This commit is contained in:
@@ -60,9 +60,9 @@ var TestingServers: TestServerProfile[] = [
|
|||||||
new TestServerProfile(
|
new TestServerProfile(
|
||||||
{
|
{
|
||||||
serverName: 'SQLTOOLS2017-3',
|
serverName: 'SQLTOOLS2017-3',
|
||||||
userName: '',
|
userName: process.env.STANDALONE_SQL_USERNAME,
|
||||||
password: '',
|
password: process.env.STANDALONE_SQL_PWD,
|
||||||
authenticationType: AuthenticationType.Windows,
|
authenticationType: AuthenticationType.SqlLogin,
|
||||||
database: 'master',
|
database: 'master',
|
||||||
provider: ConnectionProvider.SQLServer,
|
provider: ConnectionProvider.SQLServer,
|
||||||
version: '2017'
|
version: '2017'
|
||||||
|
|||||||
@@ -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 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_USERNAME=%~1
|
||||||
set BDC_BACKEND_PWD=%~2
|
set BDC_BACKEND_PWD=%~2
|
||||||
set BDC_BACKEND_HOSTNAME=%~3
|
set BDC_BACKEND_HOSTNAME=%~3
|
||||||
set PYTHON_TEST_PATH=%~4
|
set PYTHON_TEST_PATH=%~4
|
||||||
@echo No problem reading %BDC_BACKEND_USERNAME%, password, %BDC_BACKEND_HOSTNAME% and %PYTHON_TEST_PATH%
|
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%
|
||||||
@@ -3,5 +3,7 @@ export BDC_BACKEND_USERNAME=$1
|
|||||||
export BDC_BACKEND_PWD=$2
|
export BDC_BACKEND_PWD=$2
|
||||||
export BDC_BACKEND_HOSTNAME=$3
|
export BDC_BACKEND_HOSTNAME=$3
|
||||||
export PYTHON_TEST_PATH=$4
|
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
|
set
|
||||||
Reference in New Issue
Block a user