Browse Source

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

Mingliang Liu 5 years ago
parent
commit
44de193bec

+ 2 - 1
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/TestRefreshCallQueue.java

@@ -87,7 +87,8 @@ public class TestRefreshCallQueue {
 
   @SuppressWarnings("serial")
   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);
       mockQueueConstructions++;
     }