From: Brendan Dahl Date: Thu, 19 Apr 2012 21:19:08 +0000 (-0700) Subject: Allow time to finish requests. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=909951d9759a9e544f636bdb1632dd1eae3391ad;p=pdf.js.git Allow time to finish requests. --- diff --git a/test/unit/testreporter.js b/test/unit/testreporter.js index 1e43db1..3045faa 100644 --- a/test/unit/testreporter.js +++ b/test/unit/testreporter.js @@ -66,6 +66,7 @@ var TestReporter = function(browser, appPath) { this.reportSuiteResults = function(suite) { }; this.reportRunnerResults = function(runner) { - sendQuitRequest(); + // Give the test.py some time process any queued up requests + setTimeout(sendQuitRequest, 500); }; };