]> git.parisson.com Git - pdf.js.git/commitdiff
Allow time to finish requests.
authorBrendan Dahl <brendan.dahl@gmail.com>
Thu, 19 Apr 2012 21:19:08 +0000 (14:19 -0700)
committerBrendan Dahl <brendan.dahl@gmail.com>
Thu, 19 Apr 2012 21:19:08 +0000 (14:19 -0700)
test/unit/testreporter.js

index 1e43db1fa4d8deca455f79bdbc487552bea5d2d0..3045faabea3ede3bb27428c22b49d743c089feba 100644 (file)
@@ -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);
   };
 };