summaryrefslogtreecommitdiffstats
path: root/vespaclient-java
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient-java')
-rw-r--r--vespaclient-java/src/main/java/com/yahoo/vespafeeder/Arguments.java4
-rw-r--r--vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java4
2 files changed, 1 insertions, 7 deletions
diff --git a/vespaclient-java/src/main/java/com/yahoo/vespafeeder/Arguments.java b/vespaclient-java/src/main/java/com/yahoo/vespafeeder/Arguments.java
index fa28f56e34a..d659c5b578f 100644
--- a/vespaclient-java/src/main/java/com/yahoo/vespafeeder/Arguments.java
+++ b/vespaclient-java/src/main/java/com/yahoo/vespafeeder/Arguments.java
@@ -68,14 +68,10 @@ public class Arguments {
" -h [ --help ] Shows this help page.\n" +
" --maxpending arg The maximum number of operations that are allowed\n" +
" to be pending at any given time. NOTE: This disables dynamic throttling. Use with care.\n" +
- " --maxpendingsize arg The maximum size (in bytes) of operations that \n" +
- " are allowed to be pending at any given time. \n" +
" --maxfeedrate arg Limits the feed rate to the given number (operations/second). You may still want to increase\n" +
" the max pending size if your feed rate doesn't reach the desired number.\n" +
" --mode arg (=standard) The mode to run vespa-feeder in (standard | benchmark).\n" +
" --noretry Turns off retries of recoverable failures.\n" +
- " --retrydelay arg (=1) The time (in seconds) to wait between retries of \n" +
- " a failed operation.\n" +
" --route arg (=default) The route to send the data to.\n" +
" --timeout arg (=180) The time (in seconds) allowed for sending \n" +
" operations.\n" +
diff --git a/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java b/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java
index 0fc0cdf017c..39b3fa894fd 100644
--- a/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java
+++ b/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java
@@ -38,7 +38,7 @@ public class VespaFeederTestCase {
@Test
public void testParseArgs() throws Exception {
String argsS="--abortondataerror false --abortonsenderror false --file foo.xml --maxpending 10" +
- " --maxpendingsize 11 --maxfeedrate 29 --mode benchmark --noretry --retrydelay 12 --route e6 --timeout 13 --trace 4" +
+ " --maxfeedrate 29 --mode benchmark --noretry --route e6 --timeout 13 --trace 4" +
" --validate -v bar.xml --priority LOW_1";
Arguments arguments = new Arguments(argsS.split(" "), DummySessionFactory.createWithAutoReply());
@@ -47,12 +47,10 @@ public class VespaFeederTestCase {
assertEquals(false, config.abortondocumenterror());
assertEquals(13.0, config.timeout(), 0.00001);
assertEquals(false, config.retryenabled());
- assertEquals(12.0, config.retrydelay(), 0.0001);
assertEquals("e6", config.route());
assertEquals(4, config.tracelevel());
assertEquals(false, config.abortonsenderror());
assertEquals(10, config.maxpendingdocs());
- assertEquals(11, config.maxpendingbytes());
assertEquals(29.0, config.maxfeedrate(), 0.0001);
assertTrue(arguments.isVerbose());
assertFalse(config.createifnonexistent());