From f2d81575ecaa45d9bd4946a7cb0d5dced90d9598 Mon Sep 17 00:00:00 2001 From: Roland Kuhn Date: Fri, 11 Mar 2016 15:05:23 +0100 Subject: [PATCH] fix race condition in MessageSpec, fixes #19995 --- .../src/test/scala/akka/http/impl/engine/ws/MessageSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-http-core/src/test/scala/akka/http/impl/engine/ws/MessageSpec.scala b/akka-http-core/src/test/scala/akka/http/impl/engine/ws/MessageSpec.scala index 7c0bb13899..b1fb3027e9 100644 --- a/akka-http-core/src/test/scala/akka/http/impl/engine/ws/MessageSpec.scala +++ b/akka-http-core/src/test/scala/akka/http/impl/engine/ws/MessageSpec.scala @@ -741,8 +741,8 @@ class MessageSpec extends FreeSpec with Matchers with WithMaterializerSpec { 00000000 # empty mask """ - pushInput(header) EventFilter[ProtocolException](occurrences = 1).intercept { + pushInput(header) expectProtocolErrorOnNetwork() } }