5 references to LaunchAsync
Aspire.Hosting.RemoteHost (1)
Language\IntegrationHostLauncher.cs (1)
160
process = await _processLauncher.
LaunchAsync
(descriptor, registrationId, attemptCancellation.Token).ConfigureAwait(false);
Aspire.Hosting.RemoteHost.Tests (4)
IntegrationHostProcessLauncherTests.cs (4)
36
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => launcher.
LaunchAsync
(descriptor, "attempt", cancellation.Token));
56
await Assert.ThrowsAsync<ArgumentOutOfRangeException>(() => launcher.
LaunchAsync
(descriptor, "attempt", TestContext.Current.CancellationToken));
88
var error = await Assert.ThrowsAsync<InvalidOperationException>(() => launcher.
LaunchAsync
(descriptor, "attempt", TestContext.Current.CancellationToken));
140
var error = await Assert.ThrowsAsync<AggregateException>(() => launcher.
LaunchAsync
(descriptor, "attempt", TestContext.Current.CancellationToken));