Skip to content

Commit

Permalink
eclipse-ditto#985 fix KafkaClientActorTest
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Guggemos <dominik.guggemos@bosch.io>
  • Loading branch information
dguggemos committed Mar 23, 2021
1 parent 4d1b7f8 commit 1a5c8c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,6 @@ private FSM.State<BaseClientState, BaseClientData> testConnection(final TestConn
.setConnectionStatusDetails("Testing connection since " + Instant.now()));
}


private State<BaseClientState, BaseClientData> testingConnectionFailed(final ConnectionFailure event,
final BaseClientData data) {
logger.info("{} failed: <{}>", stateName(), event.getFailure());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ public void testTestConnectionFails() {
final ActorRef kafkaClientActor = actorSystem.actorOf(props);

kafkaClientActor.tell(TestConnection.of(connection, DittoHeaders.empty()), getRef());
expectMsgClass(Duration.ofSeconds(10), KafkaPublisherActor.GracefulStop.class);
expectMsgClass(Duration.ofSeconds(10), Status.Failure.class);
}};
}
Expand Down

0 comments on commit 1a5c8c2

Please sign in to comment.