File tree Expand file tree Collapse file tree
cloud-sql/sqlserver/tedious Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "CLOUD_SQL_CONNECTION_NAME" : " $INSTANCE_CONNECTION_NAME" ,
77 "INSTANCE_UNIX_SOCKET" : " $UNIX_SOCKET_DIR/$INSTANCE_CONNECTION_NAME" ,
88 "DB_NAME" : " kokoro_ci" ,
9- "DB_USER" : " kokoro_ci" ,
10- "PRIVATE_IP" : " true"
9+ "DB_USER" : " kokoro_ci"
1110 },
1211 "secrets" : {
1312 "DB_PASS" : " nodejs-docs-samples-tests/nodejs-docs-samples-sql-password"
Original file line number Diff line number Diff line change @@ -24,10 +24,12 @@ const serverConnector = require(SAMPLE_PATH);
2424
2525const _instance_connect_backup = process . env . INSTANCE_CONNECTION_NAME ;
2626delete process . env . INSTANCE_CONNECTION_NAME ;
27+ process . env . PRIVATE_IP = "true"
2728
2829const serverTcp = require ( SAMPLE_PATH ) ;
2930
3031process . env . INSTANCE_CONNECTION_NAME = _instance_connect_backup ;
32+ process . env . PRIVATE_IP = ""
3133
3234after ( ( ) => {
3335 serverTcp . close ( ) ;
You can’t perform that action at this time.
0 commit comments