Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

wait until the instance exists before modify its attribute #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions avocado_ec2/ec2_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down