Skip to content

Commit bc3a0d8

Browse files
committed
Copilot comments.
1 parent 0fff172 commit bc3a0d8

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.devcontainer/setup-sqlserver.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
2929

3030
# Write test config file so the test suite can find the connection string.
3131
CONFIG_DIR="${REPO_ROOT}/src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities"
32-
CONFIG_DEFAULT_FILE="${CONFIG_DIR}/config.default.json"
33-
CONFIG_FILE="${CONFIG_DIR}/config.json"
32+
CONFIG_DEFAULT_FILE="${CONFIG_DIR}/config.default.jsonc"
33+
CONFIG_FILE="${CONFIG_DIR}/config.jsonc"
3434
echo "Writing test config to ${CONFIG_FILE} (based on ${CONFIG_DEFAULT_FILE})..."
3535
TCP_CONN_STR="Data Source=tcp:${SQL_HOST},${SQL_PORT};Database=Northwind;User Id=sa;Password=${SA_PASSWORD};Encrypt=false;TrustServerCertificate=true"
3636
# config.default.json contains JS-style comments (// ...) which are not valid JSON.

TESTGUIDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,16 @@ For SQL Server in a Linux container, WSL, or another host where SQL authenticati
230230
}
231231
```
232232

233-
You can override the config file path with the `MDS_TEST_CONFIG` environment variable:
233+
You can override the config file path with the `TEST_MDS_CONFIG` environment variable:
234234

235235
```bash
236-
MDS_TEST_CONFIG=/path/to/config.jsonc dotnet build -t:TestSqlClientManual -p:TestSet=2
236+
TEST_MDS_CONFIG=/path/to/config.jsonc dotnet build -t:TestSqlClientManual -p:TestSet=2
237237
```
238238

239239
On PowerShell:
240240

241241
```powershell
242-
$env:MDS_TEST_CONFIG = "C:\path\to\config.jsonc"
242+
$env:TEST_MDS_CONFIG = "C:\path\to\config.jsonc"
243243
dotnet build -t:TestSqlClientManual -p:TestSet=2
244244
```
245245

0 commit comments

Comments
 (0)