From d6144619dfbba636ffa120a730ac0834a08d3fef Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 2 Sep 2024 09:15:09 -0400 Subject: [PATCH] Switch back to localhost from 127.0.0.1 for daemon restart tests Signed-off-by: Davanum Srinivas --- test/e2e/apps/daemon_restart.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/apps/daemon_restart.go b/test/e2e/apps/daemon_restart.go index 51c6e78d963..72c75eff52e 100644 --- a/test/e2e/apps/daemon_restart.go +++ b/test/e2e/apps/daemon_restart.go @@ -107,10 +107,10 @@ func (r *RestartDaemonConfig) waitUp(ctx context.Context) { var healthzCheck string if r.enableHTTPS { healthzCheck = fmt.Sprintf( - "curl -sk -o %v -I -w \"%%{http_code}\" https://127.0.0.1:%v/healthz", nullDev, r.healthzPort) + "curl -sk -o %v -I -w \"%%{http_code}\" https://localhost:%v/healthz", nullDev, r.healthzPort) } else { healthzCheck = fmt.Sprintf( - "curl -s -o %v -I -w \"%%{http_code}\" http://127.0.0.1:%v/healthz", nullDev, r.healthzPort) + "curl -s -o %v -I -w \"%%{http_code}\" http://localhost:%v/healthz", nullDev, r.healthzPort) }