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
@@ -482,7 +482,7 @@ data "aws_instance" "instance_password" {
|
||||
resource "enos_local_exec" "wait_for_ssh" {
|
||||
depends_on = [time_sleep.wait_for_reboot]
|
||||
count = var.server_version != "2016" ? 1 : 0
|
||||
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.domain_controller.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.domain_controller.public_ip} \"echo ready\"; do sleep 10; done'"]
|
||||
}
|
||||
|
||||
locals {
|
||||
|
||||
Reference in new issue
Block a user