fix(e2e): Worker not available error in RDP tests (#6386)
* test(e2e): Add more frequent ssh checks (cherry picked from commit a35dd28fd142f08d11cdf1967a916405170d9a97) * test(e2e): Add step to wait for worker to init (cherry picked from commit 57b649301f3d13e560bfd74f26e39bdeb24f72bd)
This commit is contained in:
1 parent
81c9ef0204
commit
fb65955cf2
5 files changed
+17
-11
No files matched your search
@@ -310,7 +310,7 @@ resource "local_sensitive_file" "private_key" {
|
||||
# can just SSH using the private key
|
||||
resource "enos_local_exec" "wait_for_ssh" {
|
||||
depends_on = [aws_instance.client]
|
||||
inline = ["timeout 600s bash -c 'until ssh -i ${abspath(local_sensitive_file.private_key.filename)} -o BatchMode=Yes -o IdentitiesOnly=yes -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no Administrator@${aws_instance.client.public_ip} \"echo ready\"; do sleep 10; done'"]
|
||||
inline = ["timeout 600s bash -c 'until ssh -i ${abspath(local_sensitive_file.private_key.filename)} -o BatchMode=Yes -o IdentitiesOnly=yes -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ConnectTimeout=5 Administrator@${aws_instance.client.public_ip} \"echo ready\"; do sleep 10; done'"]
|
||||
}
|
||||
|
||||
resource "enos_local_exec" "get_go_version" {
|
||||
|
||||
Reference in new issue
Block a user