From f56dd65ff69f38f68bf82d485c3cb1b90e9ffc3e Mon Sep 17 00:00:00 2001 From: Jason Song Date: Thu, 28 Mar 2024 19:56:26 +0800 Subject: [PATCH] test: use ping to improve network test (#2266) --- pkg/runner/testdata/networking/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/runner/testdata/networking/push.yml b/pkg/runner/testdata/networking/push.yml index 2b1bf9a0c41..1e02ba716fd 100644 --- a/pkg/runner/testdata/networking/push.yml +++ b/pkg/runner/testdata/networking/push.yml @@ -7,8 +7,8 @@ jobs: - name: Install tools run: | apt update - apt install -y bind9-host + apt install -y iputils-ping - name: Run hostname test run: | hostname -f - host $(hostname -f) + ping -c 4 $(hostname -f)