Current time: 11-21-2019, 06:25 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gracefully exiting wptdriver.exe
01-20-2015, 05:24 AM
Post: #1
Gracefully exiting wptdriver.exe
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!
Find all posts by this user
Quote this message in a reply
01-21-2015, 02:22 AM
Post: #2
RE: Gracefully exiting wptdriver.exe
If you close wptdriver (not terminate) the UI will go away but it will continue running the test until it finishes (at some point I should keep the UI up but that was harder to pull off).
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2015, 03:31 AM
Post: #3
RE: Gracefully exiting wptdriver.exe
Thanks, will try that. Do I need to do anything to prevent the wptwatchdog from restarting it back up immediately?
Find all posts by this user
Quote this message in a reply
01-21-2015, 03:40 AM
Post: #4
RE: Gracefully exiting wptdriver.exe
If you close it gracefully the watchdog will also shut down. The watchdog only restarts it if it is terminated unexpectedly.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)