Make PulsarReaderStartMessageIdTests more lenient
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
This commit is contained in:
@@ -79,7 +79,7 @@ public class PulsarReaderStartMessageIdTests extends PulsarReaderTestsBase {
|
||||
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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user