diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-01-03 10:43:08 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:00 +0800 |
commit | f7cd9651f1ec8b4b656d42d31a391bdce879848e (patch) | |
tree | 5586b0897c6a03471041457a3b0e81f4f0f4ba0d | |
parent | 5b9e398685e187015ec47c8e7d6de3529360859f (diff) | |
download | dexon-f7cd9651f1ec8b4b656d42d31a391bdce879848e.tar dexon-f7cd9651f1ec8b4b656d42d31a391bdce879848e.tar.gz dexon-f7cd9651f1ec8b4b656d42d31a391bdce879848e.tar.bz2 dexon-f7cd9651f1ec8b4b656d42d31a391bdce879848e.tar.lz dexon-f7cd9651f1ec8b4b656d42d31a391bdce879848e.tar.xz dexon-f7cd9651f1ec8b4b656d42d31a391bdce879848e.tar.zst dexon-f7cd9651f1ec8b4b656d42d31a391bdce879848e.zip |
test: update run_test.sh with dmoment
-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 |