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/12439
2.0
Ariya Hidayat 2014-09-16 19:57:45 -07:00
parent 4d4aa42c94
commit 9c7753189f
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// After the given timeout (in seconds), the script automatically terminates.
var timeout = 1;
var timeout = 0.25;
var total = 0;

View File

@ -16,7 +16,7 @@ import threading
import time
import urllib
TIMEOUT = 35 # Maximum duration of PhantomJS execution (in seconds)
TIMEOUT = 10 # Maximum duration of PhantomJS execution (in seconds)
HTTP_PORT = 9180
http_running = False