diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-01-03 10:43:08 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:21 +0800 |
commit | fbe9c5482e38c4b6c09fbe622c110ba04f137d05 (patch) | |
tree | 92256ae86c127b0c62fb6ed2ca865cde5465ddc3 /test/run_test.sh | |
parent | 9a4803642b4211e6f4f5414cda6ac2134709008a (diff) | |
download | go-tangerine-fbe9c5482e38c4b6c09fbe622c110ba04f137d05.tar go-tangerine-fbe9c5482e38c4b6c09fbe622c110ba04f137d05.tar.gz go-tangerine-fbe9c5482e38c4b6c09fbe622c110ba04f137d05.tar.bz2 go-tangerine-fbe9c5482e38c4b6c09fbe622c110ba04f137d05.tar.lz go-tangerine-fbe9c5482e38c4b6c09fbe622c110ba04f137d05.tar.xz go-tangerine-fbe9c5482e38c4b6c09fbe622c110ba04f137d05.tar.zst go-tangerine-fbe9c5482e38c4b6c09fbe622c110ba04f137d05.zip |
test: update run_test.sh with dmoment
Diffstat (limited to 'test/run_test.sh')
-rwxr-xr-x | test/run_test.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/run_test.sh b/test/run_test.sh index 5c4345925..a2280cc7d 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -29,6 +29,8 @@ fi rm -f log-latest ln -s $logsdir log-latest +let dmoment=`date +%s`+7 + # A standalone RPC server for accepting RPC requests. datadir=$PWD/Dexon.rpc rm -rf $datadir @@ -43,6 +45,7 @@ $GDEX \ --ws --wsapi=eth,net,web3,debug \ --wsaddr=0.0.0.0 --wsport=8546 \ --wsorigins='*' --rpcvhosts='*' --rpccorsdomain="*" \ + --dmoment=$dmoment \ > $logsdir/gdex.rpc.log 2>&1 & # Nodes @@ -62,6 +65,7 @@ for i in $(seq 0 3); do --ws --wsapi=eth,net,web3,debug \ --wsaddr=0.0.0.0 --wsport=$((8548 + $i * 2)) \ --wsorigins='*' --rpcvhosts='*' --rpccorsdomain="*" \ + --dmoment=$dmoment \ --pprof --pprofaddr=localhost --pprofport=$((6060 + $i)) \ > $logsdir/gdex.$i.log 2>&1 & done |