You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2018/08/04 13:52:42 UTC

[2/2] hbase git commit: HBASE-20847 Addendum use addFront instead of addBack to add sub procedure

HBASE-20847 Addendum use addFront instead of addBack to add sub procedure


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/17422910
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/17422910
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/17422910

Branch: refs/heads/branch-2.0
Commit: 17422910123e83a042a7cb67f58b5d9171d4034f
Parents: 700855b
Author: zhangduo <zh...@apache.org>
Authored: Wed Jul 11 20:28:35 2018 +0800
Committer: Michael Stack <st...@apache.org>
Committed: Sat Aug 4 06:45:51 2018 -0700

----------------------------------------------------------------------
 .../hbase/master/procedure/TestMasterProcedureScheduler.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/17422910/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestMasterProcedureScheduler.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestMasterProcedureScheduler.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestMasterProcedureScheduler.java
index aee88d2..64971fd 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestMasterProcedureScheduler.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestMasterProcedureScheduler.java
@@ -1083,7 +1083,7 @@ public class TestMasterProcedureScheduler {
 
     // The queue for this table should be added back to run queue as the parent has the xlock, so we
     // can poll it out.
-    queue.addBack(proc);
+    queue.addFront(proc);
     assertSame(proc, queue.poll());
     // the parent has xlock on the table, and it is OK for us to acquire shared lock on the table,
     // this is what this test wants to confirm