chore(e2e): Wait until worker log shows connection is ready (#6676)
(cherry picked from commit 7a8425212e8de2b716e451828814c6177442084f)
This commit is contained in:
1 parent
f19f776234
commit
c2eca9ab3d
6 files changed
+49
No files matched your search
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user