Skip to content

Commit

Permalink
Make PulsarReaderStartMessageIdTests more lenient
Browse files Browse the repository at this point in the history
This commit makes the PulsarReaderStartMessageIdTests more lenient
as the test was previously asserting an exact exception message
but the message has changed slightly in Pulsar 4.0.x to include
more information about the error.

See #933
  • Loading branch information
onobc committed Dec 15, 2024
1 parent df9d47a commit 10e91d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void startMessageIdMissing() {
PulsarReaderStartMessageIdMissing.class))
.rootCause()
.isInstanceOf(IllegalArgumentException.class)
.hasMessage(
.hasMessageStartingWith(
"Start message id or start message from roll back must be specified but they cannot be specified at the same time");
}

Expand Down

0 comments on commit 10e91d4

Please sign in to comment.