intuit / Tank

Tank is a downloadable application that can be used to load test websites
Eclipse Public License 1.0
84 stars 61 forks source link

Fix: Handle Controller Restarts #337

Closed Zakaria-Kofiro closed 3 months ago

Zakaria-Kofiro commented 3 months ago

Fix: Handle Controller Restarts When the Tank controller restarts, it maintains connectivity to its running agents via findAgent() which creates an ec2client per region to pull instance data. This allows the controller to pull each agent's instance URL to send agent commands (start, stop, pause, and kill). Previously, it only did this for a single region (getConfiguredRegions()) - the region the controller was in - resulting in failed calls to agents in other regions. This fixes this issue by looping through all available agent regions (getRegions()), and thus has no issue in connecting to any running agents after a controller restart.

Please make sure these check boxes are checked before submitting

PR review process