github.com/aergoio/aergo@v1.3.1/consensus/impl/raftv2/test/test_tx.sh (about)

     1  #!/usr/bin/env bash
     2  #./aergoconf-gen.sh 10001 tmpl.toml 5
     3  echo "============================== raft tx test ============================"
     4  source set_test_env.sh
     5  source test_common.sh
     6  
     7  echo ""
     8  echo "======== make initial server ========="
     9  make_node.sh 
    10  
    11  checkSync 10001 10002 60
    12  checkSync 10001 10003 60
    13  
    14  pushd  $TEST_RAFT_INSTANCE_CLIENT
    15  run_tx.sh
    16  popd
    17  
    18  checkSync 10001 10002 60
    19  checkSync 10001 10003 60
    20  
    21