fix race condition in MessageSpec, fixes #19995

This commit is contained in:
Roland Kuhn 2016-03-11 15:05:23 +01:00
parent 4293907451
commit f2d81575ec

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