1 override of RunAsync
Aspire.Hosting.Testing (1)
DistributedApplicationTestingBuilder.cs (1)
563
public override async Task
RunAsync
(CancellationToken cancellationToken)
109 references to RunAsync
Aspire.Hosting (3)
DistributedApplication.cs (3)
515
/// When the Aspire app host is launched via <see cref="DistributedApplication.
RunAsync
"/> there are
584
/// When the Aspire app host is launched via <see cref="DistributedApplication.
RunAsync
"/> there are
603
RunAsync
().Wait();
Aspire.Hosting.Azure.Kubernetes.Tests (17)
AzureKubernetesFoundryReferenceTests.cs (1)
45
await app.
RunAsync
();
AzureKubernetesInfrastructureTests.cs (16)
183
await app.
RunAsync
();
217
await app.
RunAsync
();
333
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
385
await app.
RunAsync
();
480
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
563
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
608
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
658
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
692
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
730
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
781
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
851
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
917
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
987
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
1056
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
1092
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(10));
Aspire.Hosting.Azure.Tests (21)
AzureAppServiceTests.cs (4)
221
await app.
RunAsync
();
260
await app.
RunAsync
();
558
await app.
RunAsync
();
756
await app.
RunAsync
();
AzureContainerAppEnvironmentExtensionsTests.cs (1)
563
await app.
RunAsync
();
AzureContainerAppsTests.cs (7)
1924
await app.
RunAsync
();
2044
var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => app.
RunAsync
());
2072
await app.
RunAsync
();
2196
await app.
RunAsync
();
2221
var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => app.
RunAsync
());
2250
var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => app.
RunAsync
());
2279
var exception = await Assert.ThrowsAsync<DistributedApplicationException>(() => app.
RunAsync
());
AzureDeployerTests.cs (8)
1416
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(5));
1438
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(5));
1905
var runTask = Task.Run(() => app.
RunAsync
(cts.Token));
2006
await app.
RunAsync
();
2027
await app.
RunAsync
();
2055
await app.
RunAsync
();
2078
await app.
RunAsync
();
2100
await app.
RunAsync
();
AzureResourcePreparerTests.cs (1)
337
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(30));
Aspire.Hosting.Containers.Tests (1)
WithDockerfileTests.cs (1)
927
await app.
RunAsync
();
Aspire.Hosting.Docker.Tests (17)
DockerComposePublisherTests.cs (3)
163
await app.
RunAsync
().WaitAsync(TimeSpan.FromSeconds(60));
545
await app.
RunAsync
();
575
await app.
RunAsync
();
DockerComposeTests.cs (14)
165
await app.
RunAsync
();
343
await deployApp.
RunAsync
();
365
await cleanupApp.
RunAsync
();
388
await app.
RunAsync
();
445
await deployApp.
RunAsync
();
485
await cleanupApp.
RunAsync
();
700
await app.
RunAsync
();
733
await app.
RunAsync
();
773
await app.
RunAsync
();
824
await app.
RunAsync
();
982
await app.
RunAsync
();
1019
await app.
RunAsync
();
1051
await deployApp.
RunAsync
();
1076
await destroyApp.
RunAsync
();
Aspire.Hosting.JavaScript.Tests (2)
AddNodeAppTests.cs (2)
362
await app.
RunAsync
();
419
await app.
RunAsync
();
Aspire.Hosting.Kubernetes.Tests (36)
KubernetesDeployTests.cs (30)
320
await app.
RunAsync
();
361
await app.
RunAsync
();
403
await app.
RunAsync
();
443
await app.
RunAsync
();
482
await app.
RunAsync
();
517
await app.
RunAsync
();
552
await app.
RunAsync
();
577
await app.
RunAsync
();
605
await app.
RunAsync
();
844
await app.
RunAsync
();
875
await app.
RunAsync
();
897
await app.
RunAsync
();
930
await app.
RunAsync
();
1149
await app.
RunAsync
();
1180
await app.
RunAsync
();
1334
await app.
RunAsync
();
1410
await app.
RunAsync
();
1523
await app.
RunAsync
();
1574
await app.
RunAsync
();
1624
await app.
RunAsync
();
1664
await app.
RunAsync
();
1751
await app.
RunAsync
();
1789
await app.
RunAsync
();
1825
await app.
RunAsync
();
1861
await app.
RunAsync
();
1917
await app.
RunAsync
();
1948
await app.
RunAsync
();
1988
await app.
RunAsync
();
2033
await app.
RunAsync
();
2082
await app.
RunAsync
();
KubernetesEnvironmentResourceTests.cs (1)
111
await app.
RunAsync
();
KubernetesPublisherTests.cs (5)
1053
await app.
RunAsync
();
1079
await app.
RunAsync
();
1103
var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => app.
RunAsync
());
1139
var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => app.
RunAsync
());
1953
var ex = await Assert.ThrowsAsync<DistributedApplicationException>(() => app.
RunAsync
());
Aspire.Hosting.Rust.Tests (6)
AddRustAppPublishTests.cs (6)
155
() => app.
RunAsync
(TestContext.Current.CancellationToken));
182
() => app.
RunAsync
(TestContext.Current.CancellationToken));
206
() => app.
RunAsync
(TestContext.Current.CancellationToken));
233
() => app.
RunAsync
(TestContext.Current.CancellationToken));
411
await app.
RunAsync
(TestContext.Current.CancellationToken);
466
await app.
RunAsync
(TestContext.Current.CancellationToken);
Aspire.Hosting.Tests (3)
Cli\CliOrphanDetectorTests.cs (1)
275
var pendingRun = app.
RunAsync
();
DistributedApplicationTests.cs (2)
498
await app.
RunAsync
(cts.Token);
517
await app.
RunAsync
().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);
Orleans.AppHost (1)
AppHost.cs (1)
39
await app.
RunAsync
();
TestProject.AppHost (1)
TestProgram.cs (1)
150
await app.
RunAsync
(cancellationToken);
Yarp.AppHost (1)
AppHost.cs (1)
42
await app.
RunAsync
();