diff options
Diffstat (limited to 'test/run_test.sh')
-rwxr-xr-x | test/run_test.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/run_test.sh b/test/run_test.sh index f995393f6..48934ab7c 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -56,8 +56,10 @@ $GDEX \ --wsorigins='*' --rpcvhosts='*' --rpccorsdomain="*" \ > $logsdir/gdex.rpc.log 2>&1 & +NUM_NODES=$(cat ${GENESIS} | grep 'DEXON Test Node' | wc -l) + # Nodes -for i in $(seq 0 3); do +for i in $(seq 0 $(($NUM_NODES - 1))); do datadir=$PWD/Dexon.$i rm -rf $datadir $GDEX --datadir=$datadir init ${GENESIS} |