Skip to content

.NET: Disable flaky timing-dependent integration tests#5207

Open
SergeyMenshykh wants to merge 1 commit intomicrosoft:mainfrom
SergeyMenshykh:disable-flaky-integration-tests
Open

.NET: Disable flaky timing-dependent integration tests#5207
SergeyMenshykh wants to merge 1 commit intomicrosoft:mainfrom
SergeyMenshykh:disable-flaky-integration-tests

Conversation

@SergeyMenshykh
Copy link
Copy Markdown
Member

Summary

Skip 5 flaky integration tests in DurableTask that fail with TaskCanceledException due to timing-dependent LLM calls in CI (see run #24241294922).

Uses the existing SkipFlakyTimingTest pattern referencing #4971.

Tests disabled

DurableTask ConsoleAppSamplesValidation (4 tests):

  • SingleAgentSampleValidationAsync
  • SingleAgentOrchestrationChainingSampleValidationAsync
  • MultiAgentConcurrencySampleValidationAsync
  • MultiAgentConditionalSampleValidationAsync

DurableTask WorkflowConsoleAppSamplesValidation (1 test):

  • WorkflowAndAgentsSampleValidationAsync

Skip 11 flaky integration tests that fail with TaskCanceledException
due to timing-dependent LLM calls in CI. Uses the existing
SkipFlakyTimingTest pattern referencing issue microsoft#4971.

Tests disabled:
- AzureFunctions: SingleAgent, Chaining, Concurrent, Conditionals, HITL, AgentAsMcpTool
- DurableTask ConsoleApp: SingleAgent, Chaining, Concurrency, Conditional
- DurableTask Workflow: WorkflowAndAgents

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 10, 2026 12:52
@moonbox3 moonbox3 added the .NET label Apr 10, 2026
@github-actions github-actions bot changed the title Disable flaky timing-dependent integration tests .NET: Disable flaky timing-dependent integration tests Apr 10, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Skips a small set of DurableTask integration tests that are failing intermittently in CI due to timing/latency variability in LLM-backed sample execution, following the existing SkipFlakyTimingTest pattern tied to issue #4971.

Changes:

  • Mark 4 DurableTask ConsoleAppSamplesValidation integration tests as skipped using SkipFlakyTimingTest.
  • Add the SkipFlakyTimingTest skip reason constant to workflow sample validation tests and skip 1 workflow-based integration test.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/WorkflowConsoleAppSamplesValidation.cs Introduces SkipFlakyTimingTest constant and skips the workflow+agents sample validation test.
dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/ConsoleAppSamplesValidation.cs Skips four console-app sample validation tests using the existing SkipFlakyTimingTest constant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants