We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 605e922 commit 139f4adCopy full SHA for 139f4ad
2 files changed
Dockerfile
@@ -191,7 +191,7 @@ ADD test/ /tests
191
RUN /tests/all.sh
192
193
FROM resource AS integrationtests
194
-RUN apt update && apt install -y net-tools squid
+RUN apt update && apt install -y iproute2 squid
195
ADD test/ /tests/test
196
ADD integration-tests /tests/integration-tests
197
RUN /tests/integration-tests/integration.sh
integration-tests/helpers.sh
@@ -139,10 +139,7 @@ __run() {
139
set +e
140
attempts=10
141
while (( attempts )); do
142
- ( netstat -an | grep LISTEN | grep 3128 ) >/dev/null 2>&1
143
- rc=$?
144
-
145
- if [[ $rc == 0 ]]; then
+ if ss -ltn | grep -q 3128; then
146
break
147
else
148
echo "Waiting for proxy to finish reconfiguring..."
0 commit comments