hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject svn commit: r1445831 - /hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedure.java
Date Wed, 13 Feb 2013 18:44:57 GMT
Author: jmhsieh
Date: Wed Feb 13 18:44:57 2013
New Revision: 1445831

URL: http://svn.apache.org/r1445831
Log:
HBASE-7496 TestZKProcedure fails intermittently


Modified:
    hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedure.java

Modified: hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedure.java
URL: http://svn.apache.org/viewvc/hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedure.java?rev=1445831&r1=1445830&r2=1445831&view=diff
==============================================================================
--- hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedure.java
(original)
+++ hbase/branches/hbase-7290/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedure.java
Wed Feb 13 18:44:57 2013
@@ -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



Mime
View raw message