#24097 Try a few times to get an exception
This commit is contained in:
parent
f5d28a8e07
commit
2fd9bb736b
1 changed files with 4 additions and 1 deletions
|
|
@ -160,7 +160,10 @@ class OutputStreamSourceSpec extends StreamSpec(UnboundedMailboxConfig) {
|
|||
|
||||
s.cancel()
|
||||
sourceProbe.expectMsg(GraphStageMessages.DownstreamFinish)
|
||||
the[Exception] thrownBy outputStream.write(bytesArray) shouldBe a[IOException]
|
||||
|
||||
awaitAssert {
|
||||
the[Exception] thrownBy outputStream.write(bytesArray) shouldBe a[IOException]
|
||||
}
|
||||
}
|
||||
|
||||
"fail to materialize with zero sized input buffer" in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue