fixtures/scripts/push-and-pull.sh in zold-0.13.11 vs fixtures/scripts/push-and-pull.sh in zold-0.13.12
- old
+ new
@@ -9,13 +9,10 @@
--threads=0 --standalone &
pid=$!
trap "kill -9 $pid" EXIT
cd ..
-while ! nc -z localhost ${port}; do
- sleep 0.5
- ((c++)) && ((c==20)) && break
-done
+wait_for_port ${port}
zold remote clean
zold remote add localhost ${port}
zold remote trim
zold remote show