Skip to content

.NET Workflows - Fix and re-enable CreatesWorkflowEndToEndActivities_WithCorrectName_OffThreadAsync Workflow unit tests #4398

@rogerbarreto

Description

@rogerbarreto

Description

The unit test CreatesWorkflowEndToEndActivities_WithCorrectName_OffThreadAsync in dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ObservabilityTests.cs is flaky and has been temporarily skipped with [Fact(Skip = "Flaky test - temporarily disabled")].

Steps to reproduce

  1. Run the test repeatedly or in CI — it intermittently fails.

Expected behavior

The test should pass reliably on every run.

Current workaround

The test is skipped via the Skip property on the [Fact] attribute.

Action needed

  • Investigate the root cause of the flakiness (likely timing/threading related given the OffThread variant).
  • Fix the test so it passes reliably.
  • Remove the Skip attribute once fixed.

Metadata

Metadata

Labels

.NETworkflowsRelated to Workflows in agent-framework

Type

Projects

Status

Planned

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions