You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The old EventFilter methods on AkkaSpec hide the EventFilter property on TestKit, so it's not easily accessible at the moment.
Do any of the new EventFilter overloads support something as simple as what BarrierSpec is trying to accomplish here? https://github.com/akka/akka/blob/master/akka-remote-tests/src/test/scala/akka/remote/testconductor/BarrierSpec.scala#L43 - seems like the new methods want a lot more filtering on the objects themselves. The old EventFilter methods don't work either because they're re-using the TestActor for all of the filter messages and the internal ExpectMsg<Error> call will fail if the TestActor receives a message before the event is logged to the filter.
The text was updated successfully, but these errors were encountered:
I ran into some trouble with the
EventFilter
- we are trying to use it in our implementation of BarrierSpec in the multi-node TestKit: https://github.com/akka/akka/blob/master/akka-remote-tests/src/test/scala/akka/remote/testconductor/BarrierSpec.scala#L43EventFilter
methods onAkkaSpec
hide theEventFilter
property onTestKit
, so it's not easily accessible at the moment.EventFilter
overloads support something as simple as whatBarrierSpec
is trying to accomplish here? https://github.com/akka/akka/blob/master/akka-remote-tests/src/test/scala/akka/remote/testconductor/BarrierSpec.scala#L43 - seems like the new methods want a lot more filtering on the objects themselves. The oldEventFilter
methods don't work either because they're re-using theTestActor
for all of the filter messages and the internalExpectMsg<Error>
call will fail if theTestActor
receives a message before the event is logged to the filter.The text was updated successfully, but these errors were encountered: