1 write to _lease
Aspire.Hosting.Native.Core.Tests (1)
TestServices\WorkloadTestExecutor.cs (1)
109_lease = await executor.StartAsync(identity, plan, cancellationToken).ConfigureAwait(false);
6 references to _lease
Aspire.Hosting.Native.Core.Tests (6)
TestServices\WorkloadTestExecutor.cs (6)
98public WorkloadEndpoint Endpoint => _lease?.Endpoint ?? new("", 105if (_lease is not null) 112(_lease ?? throw new InvalidOperationException("The workload has not started.")).ReadStatusAsync(cancellationToken); 114(_lease ?? throw new InvalidOperationException("The workload has not started.")).ReadLogsAsync(cancellationToken); 121if (_lease is not null) 123await _lease.DisposeAsync().ConfigureAwait(false);