1 instantiation of IntegrationHostServerProcess
Aspire.Hosting.RemoteHost.Tests (1)
TestServices\IntegrationHostProcessFixture.cs (1)
101return new IntegrationHostServerProcess(directory.FullName, _hostAssembly, useAppHostExecutable, output);
28 references to IntegrationHostServerProcess
Aspire.Hosting.RemoteHost.Tests (28)
IntegrationHostProcessTests.cs (27)
18await using var server = await fixture.StartAsync(output, skipRegistration: !discovery, options: new() 46await IntegrationHostServerProcess.AssertExitedAsync(pid); 53await using var server = await fixture.StartAsync(output, options: new() { MaxRestartAttempts = 1 }); 66await IntegrationHostServerProcess.AssertExitedAsync(pid); 75await using var server = await fixture.StartAsync(output, invocationTimeout: TimeSpan.FromSeconds(5)); 86await IntegrationHostServerProcess.AssertExitedAsync(host); 87await IntegrationHostServerProcess.AssertExitedAsync(worker); 101await using var server = await fixture.StartAsync(output, useAppHostExecutable: useAppHostExecutable); 111await IntegrationHostServerProcess.AssertExitedAsync(original); 112await IntegrationHostServerProcess.AssertExitedAsync(worker); 122await using var server = await fixture.StartAsync(output); 135await IntegrationHostServerProcess.AssertExitedAsync(processId); 142await using var server = await fixture.StartAsync(output); 150await IntegrationHostServerProcess.AssertExitedAsync(host); 151await IntegrationHostServerProcess.AssertExitedAsync(worker); 157await using var server = await fixture.StartAsync(output); 171await IntegrationHostServerProcess.AssertExitedAsync(host); 172await IntegrationHostServerProcess.AssertExitedAsync(worker); 179await using var server = await fixture.StartAsync(output); 186await IntegrationHostServerProcess.AssertExitedAsync(host); 195await using var server = await fixture.StartAsync(output, skipRegistration: true, options: new() { DelayHostPidWrite = delayHostPidWrite }); 200await IntegrationHostServerProcess.AssertExitedAsync(host); 206await using var server = await fixture.StartAsync(output); 216await IntegrationHostServerProcess.AssertExitedAsync(host); 217await IntegrationHostServerProcess.AssertExitedAsync(worker); 224await using var server = await fixture.StartAsync(output, missingCommand: true); 237await using var server = await fixture.StartAsync(output, failStartup: true);
TestServices\IntegrationHostProcessFixture.cs (1)
57internal async Task<IntegrationHostServerProcess> StartAsync(