From c799c61ff1b6c673c3e31ed42e2a58ec0a3c2ef1 Mon Sep 17 00:00:00 2001 From: Giles Odigwe Date: Sun, 10 May 2026 13:04:05 -0700 Subject: [PATCH] Fix CheckSystem test case to expect 1 response The CheckSystem workflow sends a 'PASSED!' SendActivity when all system variables are populated, producing 1 AgentResponseEvent. The test case had min_response_count: 0 with no max, so the assertion defaulted max to 0 and failed with 'Response count greater than expected: 0 (Actual: 1)'. Updated to expect exactly 1 response, matching the SendActivity pattern. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../Testcases/CheckSystem.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Testcases/CheckSystem.json b/dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Testcases/CheckSystem.json index 2e7d4b6f8d..759560628f 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Testcases/CheckSystem.json +++ b/dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Testcases/CheckSystem.json @@ -10,7 +10,10 @@ "conversation_count": 1, "min_action_count": 2, "max_action_count": -1, - "min_response_count": 0, + "min_response_count": 1, + "max_response_count": 1, + "min_message_count": 0, + "max_message_count": 0, "actions": { "start": [ "check_system"