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. |
|||
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.
|
|||
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? |
|||
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.
|
|||
08-14-2014, 04:17 AM
Post: #5
|
|||
|
|||
RE: wptdriver multiplying timeout by 4 | |||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)