github.com/aergoio/aergo@v1.3.1/consensus/impl/raftv2/test/test_slow_follower.sh (about) 1 #!/usr/bin/env bash 2 source test_common.sh 3 4 echo "" 5 echo "============================== raft server slow follower node test ============================" 6 7 BP_NAME="" 8 9 #rm BP*.toml 10 #./aergoconf-gen.sh 10001 tmpl.toml 5 11 #clean.sh 12 #./inittest.sh 13 14 echo "" 15 echo "======== make initial server =========" 16 make_node.sh 17 18 checkSync 10001 10002 60 19 checkSync 10001 10003 60 20 21 sleep 10 22 23 kill_svr.sh 11003 24 25 echo "run aergo3(11003). this node is slower than other nodeds." 26 DEBUG_CHAIN_OTHER_SLEEP=10000 run_svr.sh 11003 27 28 checkSyncRunning 10001 10003 100 29 30 echo "------------ success--------------" 31 32