Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,12 @@ class RemotingSpec extends PekkoSpec(RemotingSpec.cfg) with ImplicitSender with
case _ => false
}

outboundRemoteHandle.association.write(payload("after-handoff-failure"))
receiverProbe.expectMsg("after-handoff-failure")
// The read-only handle disassociation and resuming the outbound reader are handled by different actors.
// Retry until the outbound reader has processed ResumeReading.
awaitAssert {
outboundRemoteHandle.association.write(payload("after-handoff-failure"))
receiverProbe.expectMsg(500.millis, "after-handoff-failure")
}
} finally shutdown(thisSystem)

}
Expand Down