Skip to content

Commit

Permalink
test: fix bind address syntax in summonerd smoke test (#3269)
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero authored Nov 1, 2023
1 parent 5ecf948 commit 4bb58e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployments/scripts/smoke-summoner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4bb58e7

Please sign in to comment.