mirror of https://github.com/vitalif/phantomjs
Speed-up the tests by reducing some time-outs.
Running all tests should finish in 22 seconds instead of 41 seconds. https://github.com/ariya/phantomjs/issues/124392.0
parent
4d4aa42c94
commit
9c7753189f
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
// After the given timeout (in seconds), the script automatically terminates.
|
// After the given timeout (in seconds), the script automatically terminates.
|
||||||
var timeout = 1;
|
var timeout = 0.25;
|
||||||
|
|
||||||
var total = 0;
|
var total = 0;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ import threading
|
||||||
import time
|
import time
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
TIMEOUT = 35 # Maximum duration of PhantomJS execution (in seconds)
|
TIMEOUT = 10 # Maximum duration of PhantomJS execution (in seconds)
|
||||||
|
|
||||||
HTTP_PORT = 9180
|
HTTP_PORT = 9180
|
||||||
http_running = False
|
http_running = False
|
||||||
|
|
Loading…
Reference in New Issue