9 writes to State
Aspire.Cli.Tests (9)
Backchannel\ResourceWaitServiceTests.cs (3)
37
State
= "Running"
67
State
= "FailedToStart"
97
State
= "Waiting",
Commands\WaitCommandTests.cs (5)
191
return Task.FromResult(new WaitForResourceResponse { Success = true,
State
= "Running" });
230
WaitForResourceResult = new WaitForResourceResponse { Success = true,
State
= "Running", HealthStatus = "Healthy" }
298
WaitForResourceResult = new WaitForResourceResponse { Success = true,
State
= "Exited" }
326
State
= "FailedToStart",
369
State
= "FailedToStart"
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
303
public WaitForResourceResponse WaitForResourceResult { get; set; } = new WaitForResourceResponse { Success = true,
State
= "Running" };
3 references to State
aspire (3)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
1016
_logger.LogDebug("Wait for resource '{ResourceName}' completed: success={Success}, state={State}", resourceName, response.Success, response.
State
);
Backchannel\ResourceWaitService.cs (2)
60
_ when IsTerminalFailureState(response.
State
) => ResourceWaitOutcome.Failure,
69
response.
State
,