This is an automated email from the ASF dual-hosted git repository.

He-Pin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 0cdca85e1c Raise handshake timeouts in the TLS certificate check test 
(#3643)
0cdca85e1c is described below

commit 0cdca85e1c6bce4ef30b2265412166e6a5058eca
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Oct 23 05:31:22 2026 +0100

    Raise handshake timeouts in the TLS certificate check test (#3643)
    
    The test waited only 1 second for a real TCP and TLS handshake to fail,
    which timed out on a loaded CI runner. Wait 3 seconds, dilated by the
    test time factor, as the other TLS failure tests do.
---
 .../src/test/scala/org/apache/pekko/stream/io/TlsSpec.scala         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/stream-tests/src/test/scala/org/apache/pekko/stream/io/TlsSpec.scala 
b/stream-tests/src/test/scala/org/apache/pekko/stream/io/TlsSpec.scala
index 20e090d49a..24e51c5496 100644
--- a/stream-tests/src/test/scala/org/apache/pekko/stream/io/TlsSpec.scala
+++ b/stream-tests/src/test/scala/org/apache/pekko/stream/io/TlsSpec.scala
@@ -498,12 +498,12 @@ abstract class AbstractTlsSpec(useLegacyActor: Boolean)
 
         val clientErr = simple
           .join(badClientTls(IgnoreBoth))
-          .join(Tcp(system).outgoingConnection(Await.result(server, 
1.second).localAddress))
+          .join(Tcp(system).outgoingConnection(Await.result(server, 
3.seconds.dilated).localAddress))
           .run()
 
-        Await.result(serverErr, 1.second).getMessage should 
include("certificate_unknown")
+        Await.result(serverErr, 3.seconds.dilated).getMessage should 
include("certificate_unknown")
 
-        val clientErrText = Await.result(clientErr, 1.second).getMessage
+        val clientErrText = Await.result(clientErr, 
3.seconds.dilated).getMessage
         clientErrText should include("unable to find valid certification path 
to requested target")
       }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to