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

This commit is contained in:
zhangduo 2018-07-11 20:28:35 +08:00
parent 6ee0fedb3d
commit 4a08135dd8
1 changed files with 1 additions and 1 deletions

View File

@ -1134,7 +1134,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