HBASE-6649 [0.92 UNIT TESTS] TestReplication.queueFailover occasionally fails [Part-1]

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1381287 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-09-05 18:46:38 +00:00
parent 09719846b3
commit ebae97fc60
1 changed files with 6 additions and 1 deletions

View File

@ -430,7 +430,12 @@ public class ReplicationSource extends Thread
currentNbEntries >= this.replicationQueueNbCapacity) {
break;
}
entry = this.reader.next(entriesArray[currentNbEntries]);
try {
entry = this.reader.next(entriesArray[currentNbEntries]);
} catch (IOException ie) {
LOG.debug("Break on IOE: " + ie.getMessage());
break;
}
}
LOG.debug("currentNbOperations:" + currentNbOperations +
" and seenEntries:" + seenEntries +