comparison scripts/LogupdateTest.sh @ 8:8a33595a0d8c

add tree.rb
author suruga
date Wed, 07 Feb 2018 19:31:33 +0900
parents a015058dd24d
children afbd290bb017
comparison
equal deleted inserted replaced
7:3fda0de2d139 8:8a33595a0d8c
1 export JAR=build/libs/logupdateTest-1.1.jar 1 export JAR=build/libs/logupdateTest-1.1.jar
2 java -cp $JAR alice.topology.manager.TopologyManager -host localhost -p 10000 -port 10001 --noKeepAlive & 2 ruby scripts/tree.rb 3 > scripts/tree.dot
3 java -cp $JAR alice.topology.manager.TopologyManager -conf scripts/tree.dot -host localhost -p 10000 -port 10001 --noKeepAlive &
3 sleep 3 4 sleep 3
4 java -jar $JAR -host localhost -p 10003 -port 10000 --noKeepAlive & 5 java -jar $JAR -host localhost -p 10003 -port 10000 --noKeepAlive &
5 java -jar $JAR -host localhost -p 10001 -port 10000 --noKeepAlive & 6 java -jar $JAR -host localhost -p 10001 -port 10000 --noKeepAlive &
6 sleep 4 7 sleep 4
7 java -jar $JAR -host localhost -p 10002 -port 10000 -write --noKeepAlive 8 java -jar $JAR -host localhost -p 10002 -port 10000 -write --noKeepAlive