chore(e2e): Wait until worker log shows connection is ready (#6676)

(cherry picked from commit 7a8425212e8de2b716e451828814c6177442084f)
This commit is contained in:
Michael Li authored and GitHub committed 2026-05-06 10:06:27 -04:00
1 parent f19f776234
commit c2eca9ab3d
6 files changed
+49

No files matched your search

+5
View File
@@ -163,6 +163,11 @@ resource "enos_local_exec" "check_address" {
inline = ["timeout 10s bash -c 'until echo $(curl -s -i \"http://0.0.0.0:${local.port_ops}/health?worker_info=1\") | grep -i \\\"upstream_connection_state\\\":\\\"READY\\\"; do sleep 2; done'"]
}
output "worker_name" {
value = var.container_name
}
output "upstream_address" {
value = "${var.container_name}:${var.port}"
}