aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-11-27 14:35:19 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit342a17ca87dbf2b2e6f746204efe46df371a4540 (patch)
tree9c06ecb7a253720f704e818e8a08958d17aaa248 /test
parent85f69a42d3967d8df807aca56f087b743f921a52 (diff)
downloaddexon-342a17ca87dbf2b2e6f746204efe46df371a4540.tar
dexon-342a17ca87dbf2b2e6f746204efe46df371a4540.tar.gz
dexon-342a17ca87dbf2b2e6f746204efe46df371a4540.tar.bz2
dexon-342a17ca87dbf2b2e6f746204efe46df371a4540.tar.lz
dexon-342a17ca87dbf2b2e6f746204efe46df371a4540.tar.xz
dexon-342a17ca87dbf2b2e6f746204efe46df371a4540.tar.zst
dexon-342a17ca87dbf2b2e6f746204efe46df371a4540.zip
test: add local bootnode (#53)
* test: add local bootnode * Update run_test.sh
Diffstat (limited to 'test')
-rwxr-xr-xtest/run_test.sh6
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.