AuditorReplicasCheckTest has the following tests that are flaky, detected using Nondex.
testReplicasCheckForLedgersFoundHavingLessThanAQReplicasOfAnEntry()
testReplicasCheckForLedgersFoundHavingLessThanWQReplicasOfAnEntry()
testReplicasCheckForLedgersFoundHavingNoReplica()
testReplicasCheckForLedgersWithEmptySegments()
All fail with a similar error as below.
[INFO] Running org.apache.bookkeeper.replication.AuditorReplicasCheckTest
[ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.48 s <<< FAILURE! - in org.apache.bookkeeper.replication.AuditorReplicasCheckTest
[ERROR] org.apache.bookkeeper.replication.AuditorReplicasCheckTest.testReplicasCheckForBookieHandleNotAvailable Time elapsed: 1.287 s <<< ERROR!
java.lang.IllegalArgumentException: New entry must have a first entry greater than any existing ensemble key
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)
at org.apache.bookkeeper.client.LedgerMetadataBuilder.newEnsembleEntry(LedgerMetadataBuilder.java:146)
at org.apache.bookkeeper.replication.AuditorReplicasCheckTest.createClosedLedgerMetadata(AuditorReplicasCheckTest.java:202)
at org.apache.bookkeeper.replication.AuditorReplicasCheckTest.testReplicasCheckForBookieHandleNotAvailable(AuditorReplicasCheckTest.java:324)
AuditorReplicasCheckTest has the following tests that are flaky, detected using Nondex.
testReplicasCheckForLedgersFoundHavingLessThanAQReplicasOfAnEntry()
testReplicasCheckForLedgersFoundHavingLessThanWQReplicasOfAnEntry()
testReplicasCheckForLedgersFoundHavingNoReplica()
testReplicasCheckForLedgersWithEmptySegments()
All fail with a similar error as below.