comparison scripts/LogupdateTest.sh @ 9:afbd290bb017

scripts fix
author suruga
date Thu, 15 Feb 2018 15:06:48 +0900
parents 8a33595a0d8c
children
comparison
equal deleted inserted replaced
8:8a33595a0d8c 9:afbd290bb017
1 export JAR=build/libs/logupdateTest-1.1.jar 1 export JAR=build/libs/logupdateTest-1.1.jar
2 ruby scripts/tree.rb 3 > scripts/tree.dot 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 java -cp $JAR alice.topology.manager.TopologyManager -conf scripts/tree.dot -host localhost -p 10000 --noKeepAlive &
4 sleep 3 4 sleep 3
5 java -jar $JAR -host localhost -p 10003 -port 10000 --noKeepAlive & 5 java -jar $JAR -host localhost -p 10003 -port 10000 --noKeepAlive &
6 java -jar $JAR -host localhost -p 10001 -port 10000 --noKeepAlive & 6 java -jar $JAR -host localhost -p 10001 -port 10000 --noKeepAlive &
7 sleep 4 7 sleep 4
8 java -jar $JAR -host localhost -p 10002 -port 10000 -write --noKeepAlive 8 java -jar $JAR -host localhost -p 10002 -port 10000 -write --noKeepAlive