diff --git a/test/bin/bacalhau.sh b/test/bin/bacalhau.sh index 8af32d0426..ae172d5d76 100644 --- a/test/bin/bacalhau.sh +++ b/test/bin/bacalhau.sh @@ -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