From e07a8f41699b5a762412f94e8b79ef701c23b7b3 Mon Sep 17 00:00:00 2001 From: redshiftzero Date: Wed, 1 Nov 2023 15:05:06 -0400 Subject: [PATCH] test: fix bind address syntax in summonerd smoke test (#3269) --- deployments/scripts/smoke-summoner.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployments/scripts/smoke-summoner.sh b/deployments/scripts/smoke-summoner.sh index 277802d677..e64d19e679 100755 --- a/deployments/scripts/smoke-summoner.sh +++ b/deployments/scripts/smoke-summoner.sh @@ -64,7 +64,7 @@ export SUMMONER_FVK=$(grep "full_viewing_key" /tmp/summonerd/config.toml | cut - cargo run --quiet --release --bin summonerd -- init --storage-dir /tmp/summonerd --phase1-root phase1.bin echo "Starting phase 1 run..." -cargo run --quiet --release --bin summonerd -- start --phase 1 --storage-dir /tmp/summonerd --fvk $SUMMONER_FVK --node http://127.0.0.1:8080 --bind-addr http://127.0.0.1:8082 & +cargo run --quiet --release --bin summonerd -- start --phase 1 --storage-dir /tmp/summonerd --fvk $SUMMONER_FVK --node http://127.0.0.1:8080 --bind-addr 127.0.0.1:8082 & phase1_pid="$!" # If script ends early, ensure phase 1 is halted. trap 'kill -9 "$phase1_pid"' EXIT @@ -94,7 +94,7 @@ echo "Transitioning..." cargo run --quiet --release --bin summonerd -- transition --storage-dir /tmp/summonerd echo "Starting phase 2 run..." -cargo run --quiet --release --bin summonerd -- start --phase 2 --storage-dir /tmp/summonerd --fvk $SUMMONER_FVK --node http://127.0.0.1:8080 --bind-addr http://127.0.0.1:8082 & +cargo run --quiet --release --bin summonerd -- start --phase 2 --storage-dir /tmp/summonerd --fvk $SUMMONER_FVK --node http://127.0.0.1:8080 --bind-addr 127.0.0.1:8082 & phase2_pid="$!" # If script ends early, ensure phase 2 is halted. trap 'kill -9 "$phase2_pid"' EXIT