Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add a new mechanism to help count the total number of EC2 instances…
… for a particular AMI. As an EC2Slave is being provisioned, a temporary count is placed in a HashMap, which is used in addition to the count reported by Amazon itself for a particular ami. This is so that the count of total nodes provisioned takes into account those which Amazon doesn't report yet. The count returned may be too high, if amazon reports it in addition to the "provision" count, but better to err on the side of not spawning a node too soon; it will get spawned on the next go-around. Tries to fix [JENKINS-6691].
- Loading branch information
Showing
1 changed file
with
101 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters