2
Vote

Timeout is not respected for Async facts and theories

description

This test completes successfully:
[Fact]
public async Task WaitLongerThanTimeout()
{
    await Task.Delay(1000);
}

This test never completes:
[Fact(Timeout=500)]
public async Task WaitLongerThanTimeout()
{
    await Task.Delay(1000);
}
The only difference is the application of the Timeout parameter.

I am using 1.9.2.1705 of xunit and xunit.extensions.

comments