public async Task OperationRunner_Delay() { // Test a delay of 2 secs on a 4 sec timeout Assert.True(await _operationRunner.RunOperationWithTimeoutAsync(() => Task.Delay(2000), new TimeSpan(0, 0, 4), CancellationToken.None)); }
public async Task OperationRunner_Delay() { // Test a delay of 2 secs on a 4 sec timeout Assert.True(await _operationRunner.RunOperationWithTimeoutAsync(() => Task.Delay(2000), new TimeSpan(0, 0, 4), CancellationToken.None)); }