diff options
author | Tor Brede Vekterli <vekterli@oath.com> | 2018-01-17 12:17:47 +0100 |
---|---|---|
committer | Geir Storli <geirst@oath.com> | 2018-01-29 15:32:14 +0000 |
commit | 710d9ad634015c3ad7d3f1cc419db5ce11862e8c (patch) | |
tree | 24ccbc507075eee712d992c1399d16ef362a7c26 /vespaclient-java/src/test/java/com/yahoo | |
parent | 5cb5a8aaf304d5d1dc19ad994b92b644d204bae4 (diff) |
Add and propagate visitor parameter bucket space
Command line option for bucket space added to vespavisit binary.
Diffstat (limited to 'vespaclient-java/src/test/java/com/yahoo')
-rw-r--r-- | vespaclient-java/src/test/java/com/yahoo/vespavisit/VdsVisitTestCase.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vespaclient-java/src/test/java/com/yahoo/vespavisit/VdsVisitTestCase.java b/vespaclient-java/src/test/java/com/yahoo/vespavisit/VdsVisitTestCase.java index e2d045e1d33..32e29ba51ec 100644 --- a/vespaclient-java/src/test/java/com/yahoo/vespavisit/VdsVisitTestCase.java +++ b/vespaclient-java/src/test/java/com/yahoo/vespavisit/VdsVisitTestCase.java @@ -130,7 +130,8 @@ public class VdsVisitTestCase { "--ordering", "ascending", "--skipbucketsonfatalerrors", "--abortonclusterdown", - "--visitremoves" + "--visitremoves", + "--bucketspace", "outerspace" }; VdsVisit.ArgumentParser parser = createMockArgumentParser(); VdsVisit.VdsVisitParameters allParams = parser.parse(args); @@ -174,8 +175,9 @@ public class VdsVisitTestCase { printStream.flush(); String nl = System.getProperty("line.separator"); // the joys of running tests on windows assertEquals( - "Time out visitor after 123456789 ms." + nl + + "Time out visitor after 123456789 ms." + nl + "Visiting documents matching: 'id.user=1234'" + nl + + "Visiting bucket space: outerspace" + nl + "Visiting in the inclusive timestamp range 5678 - 9012." + nl + "Visiting field set foodoc.bar,foodoc.baz." + nl + "Visiting inconsistent buckets." + nl + |