try to fix java binding tests
@@ -47,7 +47,7 @@ public class GOptsTest
Key specParent = Key.create (SPEC_BASE_KEY);
try (final KDB kdb = KDB.open (specParent))
{
- final KeySet ks = KeySet.create ();
+ final KeySet ks = KeySet.create (10);
kdb.get (ks, specParent);
if (ks.cut (specParent).length () > 0)
@@ -65,15 +65,15 @@ public class GOptsTest
String[] args = new String[] { "test", "get", "-v", "user:/" };
String[] env = new String[0];
- KeySet config = KeySet.create ();
- KeySet contract = KeySet.create ();
+ KeySet config = KeySet.create (10);
+ KeySet contract = KeySet.create (10);
Key parentKey = Key.create (BASE_KEY);
KDB.goptsContract (contract, args, env, parentKey, config);
try (final KDB kdb = KDB.open (contract, parentKey))
{
- KeySet ks = KeySet.create ();
+ KeySet ks = KeySet.create (10);
kdb.get (ks, parentKey);
@@ -91,7 +91,7 @@ public class GOptsTest
Key specParent = Key.create (SPEC_BASE_KEY);
try (final KDB kdb = KDB.open (specParent))
{
- final KeySet ks = KeySet.create ();
+ final KeySet ks = KeySet.create (10);
kdb.get (ks, specParent);
ks.cut (specParent);
kdb.set (ks, specParent);
