Skip to content

Flaky test: WaitUntilSucceededAsync accepts a predicate crossing the deadline #10728

Description

@ReubenBond

Orleans.TestingHost.Tests.TestingUtilsTests.WaitUntilSucceededAsync_LongPredicateCrossingDeadlineDoesNotSucceed failed intermittently in the macOS net10.0 BVT job for PR #10699.

Failure:

Assert.True() Failure

Location: TestingUtilsTests.cs:83.

Run: https://github.com/dotnet/orleans/actions/runs/32438071389
Job: https://github.com/dotnet/orleans/actions/runs/32438071389/job/96643166809

PR #10699 changes the durable workflow sample and does not modify TestingHost timing helpers. The corresponding net8.0 test passed, indicating a timing-sensitive boundary condition.

Expected: a predicate which completes after the configured deadline never causes WaitUntilSucceededAsync to report success, regardless of scheduling delays or platform timing.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions