2 references to s_defaultWaitTimeout
Microsoft.AspNetCore.TestHost (2)
.packages\microsoft.extensions.hostfactoryresolver.sources\10.0.0-alpha.1.24619.8\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (2)
92
return args => new HostingListener(args, assembly.EntryPoint, waitTimeout ??
s_defaultWaitTimeout
, stopApplication, configureHostBuilder, entrypointCompleted).CreateHost();
286
throw new InvalidOperationException($"Timed out waiting for the entry point to build the IHost after {
s_defaultWaitTimeout
}. This timeout can be modified using the '{TimeoutEnvironmentKey}' environment variable.");