commit | 21b8e6c6fe4599346095c48d0c1e6ad553f05015 | [log] [tgz] |
---|---|---|
author | Jae Hoon Kim <kimjae@chromium.org> | Mon Feb 24 22:50:27 2025 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 25 04:11:38 2025 |
tree | 3477a58383d155da4bcb3db42c807ecd4dd0e02f | |
parent | eb94250eb1b793b414021b8809bbbbb7b118990b [diff] |
Cache server explicit split address and port .. there seems to be some issues with directly using GetCacheServer as the string values don't align with the way we want it. BUG=none TEST=local + CQ + led Change-Id: Icc2b6586f7dc5ff9978e965e3c423408a2711ae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/6300544 Reviewed-by: Julio Hurtado <juahurta@google.com> Tested-by: Jae Hoon Kim <kimjae@chromium.org> Commit-Queue: ChromeOS Auto Retry <chromeos-auto-retry@chromeos-bot.iam.gserviceaccount.com> Auto-Submit: Jae Hoon Kim <kimjae@chromium.org> Reviewed-by: Congbin Guo <guocb@chromium.org>
diff --git a/src/go.chromium.org/chromiumos/test/provision/v2/common-utils/cross-over/full_os_image_state.go b/src/go.chromium.org/chromiumos/test/provision/v2/common-utils/cross-over/full_os_image_state.go index ab860f6..1ed4660 100644 --- a/src/go.chromium.org/chromiumos/test/provision/v2/common-utils/cross-over/full_os_image_state.go +++ b/src/go.chromium.org/chromiumos/test/provision/v2/common-utils/cross-over/full_os_image_state.go
@@ -89,7 +89,7 @@ networkWaitFunc := func() error { shorterCtx, cancel := context.WithTimeout(ctx, 30*time.Second) defer cancel() - networkCheckCmd := fmt.Sprintf("curl --max-time 5 -s -o/dev/null %s/check_health", cacheServer) + networkCheckCmd := fmt.Sprintf("curl --max-time 5 -s -o/dev/null http://%s:%v/check_health", cacheServer.GetAddress(), cacheServer.GetPort()) for { var session *ssh.Session session, err := client.NewSession()