We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887c2df commit c9c1f37Copy full SHA for c9c1f37
test/Microsoft.VisualStudio.Threading.Tests/JoinableTaskTests.cs
@@ -3762,7 +3762,7 @@ public void JoinAsyncShouldCompleteWithoutUIThreadAfterCancellation()
3762
// We expect to be able to block on the UI thread and the Task complete.
3763
// In completing, it will throw a TaskCanceledException, wrapped by an
3764
// AggregateException. If it 'hangs', it will timeout, returning false.
3765
- Assert.Throws<AggregateException>(() => joinTask.Wait(AsyncDelay));
+ Assert.Throws<AggregateException>(() => joinTask.Wait(UnexpectedTimeout));
3766
}
3767
3768
[Fact]
0 commit comments