Skip to content

Commit

Permalink
remove as it is a race all the way since the app is recreated inside …
Browse files Browse the repository at this point in the history
…the RunUntilCompletion (#339)
  • Loading branch information
mihainradu authored Oct 10, 2024
1 parent 819f92a commit f4baf86
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ public void RunUntilCompletion_Faulted()
Should.Throw<ArgumentException>(() => app.RunUntilCompletion());
}

[Fact(Skip="Flaky")]
public void RunUntilCompletion_Aborted()
{
var app = new WorkflowApplication(new Delay { Duration = TimeSpan.MaxValue });
Task.Delay(10).ContinueWith(_ => app.Abort());
Should.Throw<WorkflowApplicationAbortedException>(() => app.RunUntilCompletion());
}

[Theory]
[InlineData(false)]
[InlineData(true)]
Expand Down

0 comments on commit f4baf86

Please sign in to comment.