HDFS-15325. TestRefreshCallQueue is failing due to changed CallQueue constructor. Contributed by Fengnan Li

This commit is contained in:
Mingliang Liu 2020-05-02 20:56:29 -07:00
parent f40dacdc2e
commit 44de193bec
No known key found for this signature in database
GPG Key ID: BC2FB8C6908A0C16

View File

@ -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++;
} }