Merge pull request #20012 from akka/wip-19995-fix-MessageSpec-RK

fix race condition in MessageSpec, fixes #19995
This commit is contained in:
Johan Andrén 2016-03-11 16:54:37 +01:00
commit f1273cc21d

View file

@ -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()
}
}