Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BOOKKEEPER-534: Flakeyness in AuditorBookieTest (umamahesh via ivank)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/bookkeeper/trunk@1430041 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit f7ce39d522827a0359a0183eae02694ebb35bafd 1 parent b625fdc
@ivankelly ivankelly authored
View
2  CHANGES.txt
@@ -162,6 +162,8 @@ Trunk (unreleased changes)
BOOKKEEPER-355: Ledger recovery will mark ledger as closed with -1, in case of slow bookie is added to ensemble during recovery add (ivank)
+ BOOKKEEPER-534: Flakeyness in AuditorBookieTest (umamahesh via ivank)
+
hedwig-protocol:
BOOKKEEPER-394: CompositeException message is not useful (Stu Hood via sijie)
View
5 bookkeeper-server/src/test/java/org/apache/bookkeeper/replication/AuditorBookieTest.java
@@ -293,12 +293,11 @@ private BookieServer waitForNewAuditor(BookieServer auditor)
List<BookieServer> auditors = getAuditorBookie();
if (auditors.size() > 0) {
newAuditor = auditors.get(0);
- if (auditor == newAuditor) {
- Thread.sleep(500);
- } else {
+ if (auditor != newAuditor) {
break;
}
}
+ Thread.sleep(500);
retryCount--;
}
Assert.assertNotNull(
Please sign in to comment.
Something went wrong with that request. Please try again.