Skip to content

Commit

Permalink
fix BackgroundSyncActorTest;
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Maute <stefan.maute@bosch.io>
  • Loading branch information
Stefan Maute committed Sep 22, 2022
1 parent 352b0ba commit 95d1f2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ private void expectSyncActorToStartStreaming(final TestKit pubSub, final Duratio

private void expectSyncActorToStartStreaming(final TestKit pubSub, final Duration withinTimeout,
final Consumer<SudoStreamSnapshots> msgAssertions) {
final DistributedPubSubMediator.Send startStream =
pubSub.expectMsgClass(withinTimeout, DistributedPubSubMediator.Send.class);
final DistributedPubSubMediator.Publish startStream =
pubSub.expectMsgClass(withinTimeout, DistributedPubSubMediator.Publish.class);
assertThat(startStream.msg()).isInstanceOf(SudoStreamSnapshots.class);
msgAssertions.accept(((SudoStreamSnapshots) startStream.msg()));
}
Expand Down

0 comments on commit 95d1f2f

Please sign in to comment.