# HG changeset patch # User akahori # Date 1544529089 -32400 # Node ID 3a0f8a93c84a1e6d4ebddb843eb52184a81dacac # Parent 8949d0ecf1f611f08274e5f2029099a35c4aadf9 fix local_test_run.sh diff -r 8949d0ecf1f6 -r 3a0f8a93c84a scripts/local_test_run.sh --- 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