From 755d83a11e11df5d8e378e78edd3a85bb8dfb5b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Andr=C3=A9n?= Date: Thu, 4 May 2023 17:10:36 +0200 Subject: [PATCH] chore: Test case tear down race condition warning #4244 --- .../http/impl/engine/http2/Http2PersistentClientSpec.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/akka-http2-support/src/test/scala/akka/http/impl/engine/http2/Http2PersistentClientSpec.scala b/akka-http2-support/src/test/scala/akka/http/impl/engine/http2/Http2PersistentClientSpec.scala index 981f0894c4..fb85bf0b7a 100644 --- a/akka-http2-support/src/test/scala/akka/http/impl/engine/http2/Http2PersistentClientSpec.scala +++ b/akka-http2-support/src/test/scala/akka/http/impl/engine/http2/Http2PersistentClientSpec.scala @@ -44,7 +44,11 @@ abstract class Http2PersistentClientSpec(tls: Boolean) extends AkkaSpecWithMater akka.http.client.http2.completion-timeout=100ms """) with ScalaFutures { override def failOnSevereMessages: Boolean = true - private val notSevere = Set("ChannelReadable", "WriteAck") + private val notSevere = Set("ChannelReadable", "WriteAck", + // previous test case shutting stuff down race condition + // https://github.com/akka/akka-http/issues/4244 + "Unexpected termination of TLS actor" + ) override protected def isSevere(event: Logging.LogEvent): Boolean = event.level <= Logging.WarningLevel && // fix for https://github.com/akka/akka-http/issues/3732 / https://github.com/akka/akka/issues/29330