HBASE-7496 TestZKProcedure fails intermittently

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-7290@1445831 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Hsieh 2013-02-13 18:44:57 +00:00
parent 10969660fa
commit b3bdc04f4c
1 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ public class TestZKProcedure {
ForeignExceptionDispatcher cohortMonitor = new ForeignExceptionDispatcher();
Subprocedure commit = Mockito
.spy(new SubprocedureImpl(procMembers.get(i).getFirst(), opName, cohortMonitor,
TIMEOUT, WAKE_FREQUENCY));
WAKE_FREQUENCY, TIMEOUT));
subprocs.add(commit);
}
@ -232,7 +232,7 @@ public class TestZKProcedure {
ForeignExceptionDispatcher cohortMonitor = new ForeignExceptionDispatcher();
ProcedureMember comms = members.get(i).getFirst();
Subprocedure commit = Mockito
.spy(new SubprocedureImpl(comms, opName, cohortMonitor, TIMEOUT, WAKE_FREQUENCY));
.spy(new SubprocedureImpl(comms, opName, cohortMonitor, WAKE_FREQUENCY, TIMEOUT));
// This nasty bit has one of the impls throw a TimeoutException
Mockito.doAnswer(new Answer<Void>() {
@Override