Skip to content

Commit

Permalink
fix: fixing eventing testkit timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
aludwiko committed Nov 13, 2023
1 parent 7701f11 commit 4c56f08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ private[testkit] class TopicImpl(
expectOneTyped(clazz, DefaultTimeout)

override def expectOneTyped[T](clazz: Class[T], timeout: time.Duration): TestKitMessage[T] = {
val msg = destinationProbe.expectMsgType[EmitSingleCommand]
val msg = destinationProbe.expectMsgType[EmitSingleCommand](timeout.toScala)
val metadata = new MetadataImpl(msg.getMessage.getMetadata.entries)
val scalaPb = ScalaPbAny(typeUrlFor(metadata), msg.getMessage.payload)

Expand Down

0 comments on commit 4c56f08

Please sign in to comment.