diff options
author | bojie <bojie@dexon.org> | 2019-01-18 19:30:23 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:56 +0800 |
commit | 5f47911fd3f9f98c69fc585bce64d27f924c90df (patch) | |
tree | 42ba6a106d2058f35276452350a0c4fa38eb2c2e /test/run_test.sh | |
parent | e095c638a46b467a1487a6f236ec7dd86555f424 (diff) | |
download | dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.tar.gz dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.tar.zst dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.zip |
travis: add new CI test to test fullnode (#138)
Diffstat (limited to 'test/run_test.sh')
-rwxr-xr-x | test/run_test.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/run_test.sh b/test/run_test.sh index 5455dee2b..60f7cad82 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -29,7 +29,7 @@ with open('$GENESIS', 'r') as f: data = f.read() with open('$GENESIS', 'w') as f: - dMoment = int(time.time()) + 7 + dMoment = int(time.time()) + 15 f.write(re.sub('"dMoment": [0-9]+,', '"dMoment": %d,' % dMoment, data)) __FILE__ @@ -57,7 +57,7 @@ for i in $(seq 0 3); do $GDEX \ ${NETWORK} \ --bp \ - --verbosity=3 \ + --verbosity=4 \ --gcmode=archive \ --datadir=$datadir --nodekey=keystore/test$i.key \ --port=$((30305 + $i)) \ @@ -70,4 +70,6 @@ for i in $(seq 0 3); do > $logsdir/gdex.$i.log 2>&1 & done -tail -f $logsdir/gdex.*.log +if [ "$1" != "--ignore-log" ]; then + tail -f $logsdir/gdex.*.log +fi |