17 references to GetAllocations
Aspire.Hosting (1)
Dcp\PersistentPortAllocator.cs (1)
153
foreach (var allocation in _store.
GetAllocations
())
Aspire.Hosting.Tests (16)
Dcp\AppHostLocalStateStoreTests.cs (7)
30
var allocations = firstStore.
GetAllocations
();
56
Assert.Equal(12001, store.
GetAllocations
()[equivalentKey]);
60
var allocation = Assert.Single(store.
GetAllocations
());
156
Assert.Empty(loggingPortAllocationStore.
GetAllocations
());
173
Assert.Equal(12001, CreatePortAllocationStore(cliLaunchConfiguration).
GetAllocations
()[key]);
203
Assert.Empty(portAllocationStore.
GetAllocations
());
209
var allocations = CreatePortAllocationStore(configuration).
GetAllocations
();
Dcp\DcpExecutorTests.cs (9)
1655
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();
1699
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();
1895
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();
1948
Assert.Equal(allocatedPort, CreatePersistentPortAllocationStore(configuration).
GetAllocations
()[portKey]);
2099
Assert.Equal(allocatedPort, store.
GetAllocations
()[portKey]);
2192
Assert.Empty(CreatePersistentPortAllocationStore(configuration).
GetAllocations
());
2238
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();
2292
Assert.Equal(allocatedPort, CreatePersistentPortAllocationStore(configuration).
GetAllocations
()[portKey]);
2338
var allocations = CreatePersistentPortAllocationStore(configuration).
GetAllocations
();