Skip to content

Commit

Permalink
update justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgk committed Nov 8, 2024
1 parent 2df2517 commit 993134f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ selectScheduler scheduler="levelled":
runProtoBench:
#!/usr/bin/env fish
set -l jarspath (sbt --error "print proBench/packageJars" | ansifilter --no-trailing-nl | tail -n 1)
set -l jarspath (sbt --error "print proBench/packageJars")

java --class-path "$jarspath/*" probench.cli node --name NODE1 --listen-client-port 8010 --listen-peer-port 8011 --cluster --initial-cluster-ids NODE1 NODE2 NODE3
java --class-path "$jarspath/*" probench.cli node --name NODE2 --listen-client-port 8020 --listen-peer-port 8021 --cluster localhost:8011 --initial-cluster-ids NODE1 NODE2 NODE3
java --class-path "$jarspath/*" probench.cli node --name NODE3 --listen-client-port 8030 --listen-peer-port 8031 --cluster localhost:8011 localhost:8021 --initial-cluster-ids NODE1 NODE2 NODE3
kitty java --class-path "$jarspath/*" probench.cli node --name NODE1 --listen-client-port 8010 --listen-peer-port 8011 --cluster --initial-cluster-ids NODE1 NODE2 NODE3 &
sleep 1;
kitty java --class-path "$jarspath/*" probench.cli node --name NODE2 --listen-client-port 8020 --listen-peer-port 8021 --cluster localhost:8011 --initial-cluster-ids NODE1 NODE2 NODE3 &
sleep 1;
kitty java --class-path "$jarspath/*" probench.cli node --name NODE3 --listen-client-port 8030 --listen-peer-port 8031 --cluster localhost:8011 localhost:8021 --initial-cluster-ids NODE1 NODE2 NODE3 &

java --class-path "$jarspath/*" probench.cli client --node localhost:8010 --name NODE1
java --class-path "$jarspath/*" probench.cli client --node localhost:8010 --name NODE2
java --class-path "$jarspath/*" probench.cli client --node localhost:8010 --name NODE3
java --class-path "$jarspath/*" probench.cli client --node localhost:8010 --name Client1
# java --class-path "$jarspath/*" probench.cli client --node localhost:8010 --name Client2
# java --class-path "$jarspath/*" probench.cli client --node localhost:8010 --name Client3


0 comments on commit 993134f

Please sign in to comment.