Set HTTP request timeout to infinite
- Prevent failures due to slow requests when running many tests in parallel
This commit is contained in:
parent
1924b32c33
commit
9290f3fd52
|
|
@ -18,7 +18,11 @@ namespace AspNetCoreSdkTests.Templates
|
|||
{
|
||||
// Allow self-signed certs
|
||||
ServerCertificateCustomValidationCallback = (m, c, ch, p) => true
|
||||
});
|
||||
})
|
||||
{
|
||||
// Prevent failures due to slow requests when running many tests in parallel
|
||||
Timeout = Timeout.InfiniteTimeSpan,
|
||||
};
|
||||
|
||||
private static ConcurrentDictionary<(Type Type, NuGetPackageSource NuGetPackageSource, RuntimeIdentifier RuntimeIdentifier), Template> _templates =
|
||||
new ConcurrentDictionary<(Type Type, NuGetPackageSource NuGetPackageSource, RuntimeIdentifier RuntimeIdentifier), Template>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue