changeset 122:3a0f8a93c84a

fix local_test_run.sh
author akahori
date Tue, 11 Dec 2018 20:51:29 +0900
parents 8949d0ecf1f6
children d92f0bbad1eb
files scripts/local_test_run.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/local_test_run.sh	Tue Dec 11 15:46:09 2018 +0900
+++ b/scripts/local_test_run.sh	Tue Dec 11 20:51:29 2018 +0900
@@ -15,14 +15,14 @@
 ruby ./ring.rb $1 > Log/ring.dot
 #dot -Tpng ./topology/ring.dot > ./topology/ring.png
 #open ./topology/ring.png
-java -cp ${jar_path}${topo_jarname} --localPort 10000 --confFile Log/ring.dot &
+java -jar ${jar_path}${topo_jarname} --localPort 10000 --confFile Log/ring.dot &
 
 sleep 3
 
 cnt=0
 while [ $cnt -lt $max ]
 do
-   java -cp ${jar_path}${torquetest_jarname} --managerHost localhost --managerPort 10000 --localPort `expr 20000 + $cnt`&
+   java -jar ${jar_path}${torquetest_jarname} --managerHost localhost --managerPort 10000 --localPort `expr 20000 + $cnt`&
    cnt=`expr $cnt + 1`
 done
 wait