HDFS-10253. Fix TestRefreshCallQueue failure (Contributed by Xiaoyu Yao)
(cherry picked from commit 54b2e78fd2
)
This commit is contained in:
parent
92a3dbe44f
commit
aa38748997
|
@ -92,7 +92,7 @@ public class TestRefreshCallQueue {
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public static class MockCallQueue<E> extends LinkedBlockingQueue<E> {
|
public static class MockCallQueue<E> extends LinkedBlockingQueue<E> {
|
||||||
public MockCallQueue(int cap, String ns, Configuration conf) {
|
public MockCallQueue(int levels, int cap, String ns, Configuration conf) {
|
||||||
super(cap);
|
super(cap);
|
||||||
mockQueueConstructions++;
|
mockQueueConstructions++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue