Browse Source

ZOOKEEPER-1819. DeserializationPerfTest calls method with wrong arguments (Daniel Knightly via michim)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1590116 13f79535-47bb-0310-9956-ffa450edef68
Michi Mutsuzaki 11 years ago
parent
commit
c0a648f23e

+ 3 - 0
CHANGES.txt

@@ -620,6 +620,9 @@ BUGFIXES:
   ZOOKEEPER-1911. REST contrib module does not include all required files when
   packaged (Sean Mackrory via michim)
 
+  ZOOKEEPER-1819. DeserializationPerfTest calls method with wrong arguments
+  (Daniel Knightly via michim)
+
 IMPROVEMENTS:
 
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,

+ 1 - 1
src/java/test/org/apache/zookeeper/server/DeserializationPerfTest.java

@@ -40,7 +40,7 @@ public class DeserializationPerfTest extends ZKTestCase {
         int count;
         {
             DataTree tree = new DataTree();
-            SerializationPerfTest.createNodes(tree, "/", depth, tree.getNode("/").stat.getCversion(), width, new byte[len]);
+            SerializationPerfTest.createNodes(tree, "/", depth, width, tree.getNode("/").stat.getCversion(), new byte[len]);
             count = tree.getNodeCount();
 
             ByteArrayOutputStream baos = new ByteArrayOutputStream();