From d22a727d2d0d68c511b8f34de2c153b87e6677d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Tue, 8 Feb 2022 13:23:18 +0100 Subject: [PATCH] fix: traffic generation (#71) --- scripts/build-environment.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-environment.sh b/scripts/build-environment.sh index ee52cee..7a61eea 100755 --- a/scripts/build-environment.sh +++ b/scripts/build-environment.sh @@ -100,7 +100,7 @@ done # cleanup for start from an empty state "$MY_PATH/bee-cleanup.sh" -if $BUILD_BASE_BEE ; then +if $BUILD_BASE_BEE ; then build_bee fi "$MY_PATH/network.sh" @@ -114,7 +114,7 @@ if $GEN_TRAFFIC ; then BEE_DIR_PATH="$MY_PATH/bee-data-dirs/" sudo chown 999:999 -R "$BEE_DIR_PATH" echo "Start Bee nodes so that traffic can be generated and commited to the images" - "$MY_PATH/bee.sh" start --workers=$SUPPORTED_WORKER_N --detach + "$MY_PATH/bee.sh" start --version="$BEE_VERSION" --workers=$SUPPORTED_WORKER_N --detach echo "Generating traffic on Bee node $GEN_TRAFFIC_UPLOAD_NODE" echo "Run traffic generation until $CHEQUES_COUNT incoming cheques will arrive to node under Debug API $GEN_TRAFFIC_CHECKER_NODE_DEBUG" npm run gen:traffic -- "$CHEQUES_COUNT" "$GEN_TRAFFIC_CHECKER_NODE_DEBUG;$GEN_TRAFFIC_UPLOAD_NODE;$GEN_TRAFFIC_UPLOAD_NODE_DEBUG"