fix(test): preserve TLS and PDF checks across Linux runners
CI and Deploy / test (push) Failing after 3m8s
CI and Deploy / deploy (push) Has been skipped

This commit is contained in:
cesnimda
2026-09-09 19:35:47 +02:00
parent 115ecadd4d
commit 2024c374ac
3 changed files with 9 additions and 1 deletions
@@ -335,7 +335,9 @@ public sealed class JobImportHttpTransportTests
{
var error = await Assert.ThrowsAsync<HttpRequestException>(request);
Assert.IsType<AuthenticationException>(error.InnerException);
Assert.Null(server.Request); // No HTTP data sent before TLS authenticates the origin.
// TLS rejection can surface as EOF after the server handshake on Linux.
// Both no read and a zero-byte read mean no HTTP data reached this origin.
Assert.True(string.IsNullOrEmpty(server.Request));
}
Assert.Equal("jobs.example.test", sni);
Assert.Null(handler.SslOptions.RemoteCertificateValidationCallback);