HDFS-15325. TestRefreshCallQueue is failing due to changed CallQueue constructor. Contributed by Fengnan Li
This commit is contained in:
parent
f40dacdc2e
commit
44de193bec
@ -87,7 +87,8 @@ public void tearDown() throws IOException {
|
|||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public static class MockCallQueue<E> extends LinkedBlockingQueue<E> {
|
public static class MockCallQueue<E> extends LinkedBlockingQueue<E> {
|
||||||
public MockCallQueue(int levels, int cap, String ns, Configuration conf) {
|
public MockCallQueue(int levels, int cap, String ns, int[] capacityWeights,
|
||||||
|
Configuration conf) {
|
||||||
super(cap);
|
super(cap);
|
||||||
mockQueueConstructions++;
|
mockQueueConstructions++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user