diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-27 14:35:19 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:54 +0800 |
commit | d6d7599ac09fa11f8db4ee76a90aab7ea1637f36 (patch) | |
tree | 72e5154667aa038617435c744af32beb3afdd065 /test | |
parent | 3d3112c92ffa7f7bf32705c682c6b9b8541b8348 (diff) | |
download | dexon-d6d7599ac09fa11f8db4ee76a90aab7ea1637f36.tar.gz dexon-d6d7599ac09fa11f8db4ee76a90aab7ea1637f36.tar.zst dexon-d6d7599ac09fa11f8db4ee76a90aab7ea1637f36.zip |
test: add local bootnode (#53)
* test: add local bootnode
* Update run_test.sh
Diffstat (limited to 'test')
-rwxr-xr-x | test/run_test.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/run_test.sh b/test/run_test.sh index b8b893145..7bcb0f688 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -7,6 +7,12 @@ fi NETWORK="${1}" +if [ "$2" == "--local" ]; then + NETWORK="${NETWORK} --bootnodes enode://0478aa13c91aa0db8e93b668313b7eb0532fbdb24f64772375373b14dbe326c238ad09ab4469f6442c9a9753f1275aeec2e531912c14a958ed1feb4ae7e227ef@127.0.0.1:30301" + # Start bootnode. + bootnode -nodekey bootnode.key --verbosity=9 > bootnode.log 2>&1 & +fi + GDEX=../build/bin/gdex # Kill all previous instances. |