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)
978
Assert.Equal(WaitType.WaitUntilHealthy, wait.
WaitType
);
Aspire.Hosting.Docker (1)
DockerComposeServiceResource.cs (1)
196
Condition = waitAnnotation.
WaitType
switch
Aspire.Hosting.Dotnet (1)
DotnetProjectBuildCoordinator.cs (1)
128
annotation => annotation.
WaitType
is WaitType.WaitForCompletion &&
Aspire.Hosting.Dotnet.Tests (2)
DotnetProjectBuildCoordinatorTests.cs (2)
4025
Assert.Equal(WaitType.WaitForCompletion, wait.
WaitType
);
4041
Assert.Equal(WaitType.WaitForCompletion, wait.
WaitType
);
Aspire.Hosting.MongoDB.Tests (5)
AddMongoDBTests.cs (4)
145
Assert.Equal(WaitType.WaitUntilHealthy, wait.
WaitType
);
177
Assert.Equal(WaitType.WaitUntilHealthy, wait.
WaitType
);
182
Assert.Equal(WaitType.WaitUntilHealthy, wait.
WaitType
);
186
Assert.Equal(WaitType.WaitUntilStarted, memberWait.
WaitType
);
ReplicaSet\AddMongoDBReplicaSetTests.cs (1)
56
Assert.Equal(WaitType.WaitUntilStarted, wait.
WaitType
);
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
798
Assert.Equal(WaitType.WaitForCompletion, waitForCompletionAnnotation.
WaitType
);
Aspire.Hosting.Tests (5)
AddConnectionStringTests.cs (2)
90
Assert.Equal(WaitType.WaitUntilStarted, wa.
WaitType
);
95
Assert.Equal(WaitType.WaitUntilStarted, wa.
WaitType
);
WaitForTests.cs (2)
813
Assert.Equal(WaitType.WaitUntilStarted, waitAnnotation.
WaitType
);
829
Assert.Equal(WaitType.WaitUntilStarted, waitAnnotation.
WaitType
);
WithTerminalTests.cs (1)
208
Assert.Equal(WaitType.WaitUntilStarted, single.
WaitType
);