31 writes to IsAlive
Aspire.Cli.Tests (31)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
282
IsAlive
= true,
Commands\TerminalCommandTests.cs (9)
207
new() { ReplicaIndex = 0, Label = "myresource-0", ConsumerUdsPath = "unused",
IsAlive
= true },
208
new() { ReplicaIndex = 1, Label = "myresource-1", ConsumerUdsPath = "unused",
IsAlive
= true }
295
IsAlive
= true
302
IsAlive
= true
410
IsAlive
= true,
515
IsAlive
= true,
529
IsAlive
= true,
558
IsAlive
= false,
745
IsAlive
= true,
Commands\TerminalResourceResolverTests.cs (14)
56
var endpoint = new TerminalReplicaInfo { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "singleton.sock",
IsAlive
= true };
77
var first = new TerminalReplicaInfo { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "first.sock",
IsAlive
= true };
78
var selected = new TerminalReplicaInfo { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "selected.sock",
IsAlive
= false };
103
var selected = new TerminalReplicaInfo { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "selected.sock",
IsAlive
= true };
138
var first = new TerminalReplicaInfo { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "first.sock",
IsAlive
= true };
139
var second = new TerminalReplicaInfo { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "second.sock",
IsAlive
= true };
185
new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused",
IsAlive
= true },
186
new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "unused",
IsAlive
= true }
221
new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "first.sock",
IsAlive
= true },
222
new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "second.sock",
IsAlive
= true }
258
Replicas = [new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "unused",
IsAlive
= true }]
285
Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused",
IsAlive
= true }]
313
new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "first.sock",
IsAlive
= true },
314
new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "second.sock",
IsAlive
= true }
Commands\TerminalTapePlayCommandTests.cs (7)
143
new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused",
IsAlive
= true },
144
new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "unused",
IsAlive
= true }
229
new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused",
IsAlive
= true },
235
IsAlive
= producerConnected,
285
Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused",
IsAlive
= false }]
337
IsAlive
= Interlocked.Increment(ref requests) > 1
572
Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = socketPath ?? "unused",
IsAlive
= true }]
8 references to IsAlive
aspire (7)
Commands\TerminalAttachCommand.cs (1)
119
if (!replica.
IsAlive
)
Commands\TerminalPsCommand.cs (2)
173
IsAlive = replica.
IsAlive
,
311
var status = replica.
IsAlive
Commands\TerminalTapePlayCommand.cs (1)
138
while (!replica.
IsAlive
)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (3)
1639
/// replica. Synonym for <see cref="
IsAlive
"/> with clearer naming.
1750
/// is false and the per-replica entries are degraded (<see cref="TerminalReplicaInfo.
IsAlive
"/> =
1789
/// <see cref="TerminalReplicaInfo.
IsAlive
"/> = false and the AppHost-known
Aspire.Cli.Tests (1)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
243
Assert.True(replica.
IsAlive
);