5 writes to State
Aspire.Cli.Tests (5)
Commands\WaitCommandTests.cs (4)
172
WaitForResourceResult = new WaitForResourceResponse { Success = true,
State
= "Running" }
197
WaitForResourceResult = new WaitForResourceResponse { Success = true,
State
= "Running", HealthStatus = "Healthy" }
252
WaitForResourceResult = new WaitForResourceResponse { Success = true,
State
= "Exited" }
280
State
= "FailedToStart",
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
116
public WaitForResourceResponse WaitForResourceResult { get; set; } = new WaitForResourceResponse { Success = true,
State
= "Running" };
2 references to State
aspire (2)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
768
_logger?.LogDebug("Wait for resource '{ResourceName}' completed: success={Success}, state={State}", resourceName, response.Success, response.
State
);
Commands\WaitCommand.cs (1)
145
_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, WaitCommandStrings.ResourceEnteredFailedState, resourceName, response.
State
?? response.ErrorMessage));