Author: chetanm
Date: Thu Dec 3 05:00:32 2015
New Revision: 1717712
URL: http://svn.apache.org/viewvc?rev=1717712&view=rev
Log:
OAK-3719 - Test failure: ManyChildNodesTest
Modified:
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ManyChildNodesTest.java
Modified:
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ManyChildNodesTest.java
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ManyChildNodesTest.java?rev=1717712&r1=1717711&r2=1717712&view=diff
==============================================================================
---
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ManyChildNodesTest.java
(original)
+++
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ManyChildNodesTest.java
Thu Dec 3 05:00:32 2015
@@ -92,7 +92,9 @@ public class ManyChildNodesTest {
String fromKey,
String toKey,
int limit) {
- queries.put(fromKey, limit);
+ if (collection == Collection.NODES) {
+ queries.put(fromKey, limit);
+ }
return super.query(collection, fromKey, toKey, limit);
}
}