diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-07 12:59:49 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | d6557f080c206ba0ff322d39005af642eb58b12f (patch) | |
tree | 1ba00ccd96149bd317a782a9bf836724ec7c07c7 /test/run_test.sh | |
parent | 10a21c6b7eb2c4d2a186a3a355986a0605b41ca7 (diff) | |
download | dexon-d6557f080c206ba0ff322d39005af642eb58b12f.tar dexon-d6557f080c206ba0ff322d39005af642eb58b12f.tar.gz dexon-d6557f080c206ba0ff322d39005af642eb58b12f.tar.bz2 dexon-d6557f080c206ba0ff322d39005af642eb58b12f.tar.lz dexon-d6557f080c206ba0ff322d39005af642eb58b12f.tar.xz dexon-d6557f080c206ba0ff322d39005af642eb58b12f.tar.zst dexon-d6557f080c206ba0ff322d39005af642eb58b12f.zip |
test: update test parameters (#229)
* test: update test parameters
* update smoke test parameter
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} |