Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 0c3e4c9

Browse files
authored
Update launch.json and MonitorCommandTests to include resource group and table type parameters (#384)
1 parent b7fd4be commit 0c3e4c9

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.vscode/launch.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"${input:subscription}",
1616
"--account-name",
1717
"${input:cosmosAccountName}",
18-
"--retry-max-retries",
18+
"--retry-max-retries",
1919
"0"
2020
],
2121
"cwd": "${workspaceFolder}",
@@ -285,6 +285,10 @@
285285
"list",
286286
"--subscription",
287287
"${input:subscription}",
288+
"--resource-group",
289+
"${input:resourceGroup}",
290+
"--workspace",
291+
"${input:workspace}"
288292
],
289293
"cwd": "${workspaceFolder}",
290294
"console": "integratedTerminal",
@@ -315,7 +319,7 @@
315319
"DOTNET_ENVIRONMENT": "Development"
316320
}
317321
},
318-
{
322+
{
319323
"name": "Debug Monitor Log Query",
320324
"type": "coreclr",
321325
"request": "launch",
@@ -420,7 +424,10 @@
420424
"compounds": [
421425
{
422426
"name": "Debug MCP Server",
423-
"configurations": ["Launch MCP Server", "Attach to MCP Server"]
427+
"configurations": [
428+
"Launch MCP Server",
429+
"Attach to MCP Server"
430+
]
424431
}
425432
],
426433
"inputs": [
@@ -487,7 +494,8 @@
487494
"type": "promptString",
488495
"description": "Cosmos DB Container Name",
489496
"default": ""
490-
}, {
497+
},
498+
{
491499
"id": "resourceGroup",
492500
"type": "promptString",
493501
"description": "Azure Resource Group",

tests/Client/MonitorCommandTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public async Task Should_list_monitor_tables()
5050
{
5151
{ "subscription", Settings.SubscriptionId },
5252
{ "workspace", Settings.ResourceBaseName },
53-
{ "resource-group", Settings.ResourceGroupName }
53+
{ "resource-group", Settings.ResourceGroupName },
54+
{ "table-type", "Microsoft" }
5455
});
5556

5657
var tablesArray = result.AssertProperty("tables");

0 commit comments

Comments
 (0)