13 references to CreatePersistentPortAllocationStore
Aspire.Hosting.Tests (13)
Dcp\DcpExecutorTests.cs (13)
1655var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations(); 1699var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations(); 1895var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations(); 1948Assert.Equal(allocatedPort, CreatePersistentPortAllocationStore(configuration).GetAllocations()[portKey]); 1972CreatePersistentPortAllocationStore(configuration).SetPort(storedPortKey, persistedPort); 2019CreatePersistentPortAllocationStore(configuration).SetPort(portKey, persistedPort); 2070var store = CreatePersistentPortAllocationStore(configuration); 2122CreatePersistentPortAllocationStore(configuration).SetPort( 2192Assert.Empty(CreatePersistentPortAllocationStore(configuration).GetAllocations()); 2238var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations(); 2292Assert.Equal(allocatedPort, CreatePersistentPortAllocationStore(configuration).GetAllocations()[portKey]); 2338var allocations = CreatePersistentPortAllocationStore(configuration).GetAllocations(); 12135var persistentPortAllocationStore = CreatePersistentPortAllocationStore(configuration);