Skip to content

Commit

Permalink
Update test to reflect current behavior
Browse files Browse the repository at this point in the history
Previous behavior was buggy. It was fixed by:
micronaut-projects#771
  • Loading branch information
guillermocalvo committed Aug 4, 2023
1 parent dfbb8ac commit 9eea051
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ class DefaultKafkaListenerExceptionHandlerSpec extends AbstractEmbeddedServerSpe
when: "A producer sends a message with wrong serialization"
stringProducer.sendToDoNothingTopic("not-a-uuid")

then: "The message is neither skipped nor committed"
then: "The message is skipped, but not committed"
conditions.eventually {
consumer.currentPosition == 0
consumer.currentPosition > 0
consumer.committedOffset == 0
}
}
Expand Down

0 comments on commit 9eea051

Please sign in to comment.