diff --git a/avocado_ec2/ec2_wrapper.py b/avocado_ec2/ec2_wrapper.py index e9cc4af..4bdbf68 100644 --- a/avocado_ec2/ec2_wrapper.py +++ b/avocado_ec2/ec2_wrapper.py @@ -120,6 +120,7 @@ def _init_resources(self, args): global EC2_INSTANCES EC2_INSTANCES += inst_list self.instance = inst_list[0] + self.instance.wait_until_exists() log = logging.getLogger("avocado.app") log.info("EC2_ID : %s", self.instance.id) # Rename the instance