19 references to WaitType
Aspire.Hosting (3)
ApplicationModel\ResourceNotificationService.cs (2)
582.Select(waitAnnotation => waitAnnotation.WaitType switch 587_ => throw new DistributedApplicationException($"Unexpected wait type: {waitAnnotation.WaitType}")
ApplicationModel\WaitAnnotation.cs (1)
31/// The behavior of the wait. Only applicable when <see cref="WaitType"/> is <see cref="WaitType.WaitUntilHealthy"/>.
Aspire.Hosting.Azure.Tests (1)
AzureServiceBusExtensionsTests.cs (1)
978Assert.Equal(WaitType.WaitUntilHealthy, wait.WaitType);
Aspire.Hosting.Docker (1)
DockerComposeServiceResource.cs (1)
196Condition = waitAnnotation.WaitType switch
Aspire.Hosting.Dotnet (1)
DotnetProjectBuildCoordinator.cs (1)
128annotation => annotation.WaitType is WaitType.WaitForCompletion &&
Aspire.Hosting.Dotnet.Tests (2)
DotnetProjectBuildCoordinatorTests.cs (2)
4025Assert.Equal(WaitType.WaitForCompletion, wait.WaitType); 4041Assert.Equal(WaitType.WaitForCompletion, wait.WaitType);
Aspire.Hosting.MongoDB.Tests (5)
AddMongoDBTests.cs (4)
145Assert.Equal(WaitType.WaitUntilHealthy, wait.WaitType); 177Assert.Equal(WaitType.WaitUntilHealthy, wait.WaitType); 182Assert.Equal(WaitType.WaitUntilHealthy, wait.WaitType); 186Assert.Equal(WaitType.WaitUntilStarted, memberWait.WaitType);
ReplicaSet\AddMongoDBReplicaSetTests.cs (1)
56Assert.Equal(WaitType.WaitUntilStarted, wait.WaitType);
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
798Assert.Equal(WaitType.WaitForCompletion, waitForCompletionAnnotation.WaitType);
Aspire.Hosting.Tests (5)
AddConnectionStringTests.cs (2)
90Assert.Equal(WaitType.WaitUntilStarted, wa.WaitType); 95Assert.Equal(WaitType.WaitUntilStarted, wa.WaitType);
WaitForTests.cs (2)
813Assert.Equal(WaitType.WaitUntilStarted, waitAnnotation.WaitType); 829Assert.Equal(WaitType.WaitUntilStarted, waitAnnotation.WaitType);
WithTerminalTests.cs (1)
208Assert.Equal(WaitType.WaitUntilStarted, single.WaitType);