I’m running a private install powered by EC2 agents, and I’m wondering what the best process is for spinning down instances. Sometimes they need a restart, or I change settings and need to reboot, but I worry about doing so in the middle of a test that’s already running on an agent.
Is there a way to gracefully exit the wptdriver so that it will finish the current job, then close? Or so it won’t take any new tests once it is done with the current one? I think I’ve seen that if I kill the agent in the middle of a test then the test never gets ran, which is a worry of mine.
Thanks!