Current time: 10-21-2019, 02:47 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wptdriver multiplying timeout by 4
08-14-2014, 01:24 AM
Post: #1
wptdriver multiplying timeout by 4
For some reason the WPT driver seems to be multiplying the TimeOut by 4. If I put in 300 as the timeout, it says waiting 1200 seconds. If I put in 120, it says waiting 480 seconds.

Is it supposed to do that? I couldn't find any documentation on the wpt driver. I probably just missed it. Sorry if this is an obvious question.
Find all posts by this user
Quote this message in a reply
08-14-2014, 03:16 AM
Post: #2
RE: wptdriver multiplying timeout by 4
Yes. Wptdriver has a failsafe on top of the actual timeout where it will terminate all of the processes and clean up and that's what you are seeing. The code running the test itself will still use the timeout that you have set and try to finish gracefully but if it goes out to lunch for some reason wptdriver will clean it all up.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-14-2014, 03:25 AM
Post: #3
RE: wptdriver multiplying timeout by 4
(08-14-2014 03:16 AM)pmeenan Wrote:  Yes. Wptdriver has a failsafe on top of the actual timeout where it will terminate all of the processes and clean up and that's what you are seeing. The code running the test itself will still use the timeout that you have set and try to finish gracefully but if it goes out to lunch for some reason wptdriver will clean it all up.

Great, thanks. So is the TimeOut per request or per test?
Find all posts by this user
Quote this message in a reply
08-14-2014, 03:42 AM
Post: #4
RE: wptdriver multiplying timeout by 4
It is per page load. If a test is multiple runs then they are run separately each with the same timeout. If it is a script the timeout is applied to each step.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-14-2014, 04:17 AM
Post: #5
RE: wptdriver multiplying timeout by 4
(08-14-2014 03:42 AM)pmeenan Wrote:  It is per page load. If a test is multiple runs then they are run separately each with the same timeout. If it is a script the timeout is applied to each step.

Awesome! Thanks again.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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