Skip to content

Commit

Permalink
Add ALL clients option by default
Browse files Browse the repository at this point in the history
Signed-off-by: acarbonetto <[email protected]>
  • Loading branch information
acarbonetto committed Sep 26, 2023
1 parent 884d97d commit ef41428
Showing 1 changed file with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private static Options getOptions() {
options.addOption("f", "resultsFile", true, "Result filepath []");
options.addOption("d", "dataSize", true, "Data block size [20]");
options.addOption("C", "concurrentTasks", true, "Number of concurrent tasks [1 10 100]");
options.addOption("l", "clients", true, "one of: all|jedis|lettuce|babushka [all]");
options.addOption("l", "clients", true, "one of: all|jedis|jedis_async|lettuce|lettuce_async|babushka [all]");
options.addOption("h", "host", true, "host url [localhost]");
options.addOption("p", "port", true, "port number [6379]");
options.addOption("n", "clientCount", true, "Client count [1]");
Expand Down Expand Up @@ -145,11 +145,14 @@ private static RunConfiguration verifyOptions(CommandLine line) throws ParseExce
ClientName.LETTUCE_ASYNC);
case ALL_ASYNC:
return Stream.of(
ClientName.JEDIS_ASYNC, /* ClientName.BABUSHKA, */
ClientName.JEDIS_ASYNC,
// ClientName.BABUSHKA,
ClientName.LETTUCE_ASYNC);
case ALL_SYNC:
return Stream.of(
ClientName.JEDIS, /* ClientName.BABUSHKA, */ ClientName.LETTUCE);
ClientName.JEDIS,
// ClientName.BABUSHKA,
ClientName.LETTUCE);
default:
return Stream.of(e);
}
Expand Down Expand Up @@ -265,7 +268,13 @@ public RunConfiguration() {
resultsFile = Optional.empty();
dataSize = 20;
concurrentTasks = List.of(1, 10, 100);
clients = new ClientName[] {ClientName.ALL};
clients = new ClientName[] {
// ClientName.BABUSHKA,
ClientName.JEDIS,
ClientName.JEDIS_ASYNC,
ClientName.LETTUCE,
ClientName.LETTUCE_ASYNC
};
host = "localhost";
port = 6379;
clientCount = new int[] {1};
Expand Down

0 comments on commit ef41428

Please sign in to comment.