Skip to content

Commit

Permalink
fix: ci sleep command syntax for macOS 12 (#7203)
Browse files Browse the repository at this point in the history
Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
  • Loading branch information
thesuperzapper authored Nov 11, 2021
1 parent 57d894c commit 34e5b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/port-forward.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pf() {
./hack/free-port.sh $port
echo "port-forward $resource $port"
kubectl -n argo port-forward "svc/$resource" "$port:$dest_port" > /dev/null &
until lsof -i ":$port" > /dev/null ; do sleep 1s ; done
until lsof -i ":$port" > /dev/null ; do sleep 1 ; done
}

wait-for() {
Expand Down

0 comments on commit 34e5b54

Please sign in to comment.