9 writes to State
Aspire.Cli.Tests (9)
Backchannel\ResourceWaitServiceTests.cs (3)
37State = "Running" 67State = "FailedToStart" 97State = "Waiting",
Commands\WaitCommandTests.cs (5)
191return Task.FromResult(new WaitForResourceResponse { Success = true, State = "Running" }); 230WaitForResourceResult = new WaitForResourceResponse { Success = true, State = "Running", HealthStatus = "Healthy" } 298WaitForResourceResult = new WaitForResourceResponse { Success = true, State = "Exited" } 326State = "FailedToStart", 369State = "FailedToStart"
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
303public 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, 69response.State,