Skip to content

Commit 3f1d90c

Browse files
committed
fix: correct wait end of process
Signed-off-by: Philippe Martin <phmartin@redhat.com>
1 parent e18d9bf commit 3f1d90c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/e2e-tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ jobs:
192192
run: |
193193
kill $ENVTEST_START_PID
194194
# give some time for the cluster to be stopped gracefully
195-
sleep 3
195+
echo 'waiting process to be stopped...'
196+
timeout 10s bash -c 'while ps $ENVTEST_START_PID; do sleep 1; done'
197+
echo 'process stopped'
196198
197199
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
198200
if: always()

0 commit comments

Comments
 (0)