6 references to DefaultTimeout
Aspire.TerminalHost.Tests (6)
TerminalHostControlJsonSerializerContextTests.cs (6)
65await client.InvokeAsync(TerminalHostControlProtocol.ShutdownMethod).DefaultTimeout(); 84var exception = await Assert.ThrowsAsync<RemoteInvocationException>(() => client.InvokeAsync("fail").DefaultTimeout()); 87await Assert.ThrowsAsync<RemoteMethodNotFoundException>(() => client.InvokeAsync("unknown").DefaultTimeout()); 112await started.Task.DefaultTimeout(); 115await cancelled.Task.DefaultTimeout(); 116await Assert.ThrowsAnyAsync<OperationCanceledException>(() => invocation.DefaultTimeout());