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 | |
parent | e095c638a46b467a1487a6f236ec7dd86555f424 (diff) | |
download | dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.tar dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.tar.gz dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.tar.bz2 dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.tar.lz dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.tar.xz dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.tar.zst dexon-5f47911fd3f9f98c69fc585bce64d27f924c90df.zip |
travis: add new CI test to test fullnode (#138)
Diffstat (limited to 'test')
-rw-r--r-- | test/genesis.json | 2 | ||||
-rwxr-xr-x | test/run_test.sh | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/test/genesis.json b/test/genesis.json index efa2727ad..7ab90e48b 100644 --- a/test/genesis.json +++ b/test/genesis.json @@ -27,7 +27,7 @@ "phiRatio": 0.667, "notarySetSize": 4, "dkgSetSize": 4, - "roundInterval": 600000, + "roundInterval": 90000, "minBlockInterval": 1000, "fineValues": [ "0x21e19e0c9bab2400000", 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 |