Skip to content

Commit

Permalink
Use local node in Bash tests when starting hybrid node.
Browse files Browse the repository at this point in the history
Previously tests accidentally used demo network nodes if the node that
was started was a hybrid.
  • Loading branch information
simonwo committed Mar 21, 2024
1 parent 710bf1d commit 6e95335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bin/bacalhau.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ create_node() {

# Ensure subsequent nodes automatically connect to this requester, and pick
# a random port for the HTTP API to avoid collisions
if test "$TYPE" = "requester"; then
if [[ "$TYPE" =~ "requester" ]]; then
source $BACALHAU_DIR/bacalhau.run
export BACALHAU_NODE_SERVERAPI_PORT=0
fi
Expand Down

0 comments on commit 6e95335

Please sign in to comment.