wait up to 16 seconds for results
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 30 Aug 2013 12:59:41 +0000 (14:59 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 30 Aug 2013 12:59:41 +0000 (14:59 +0200)
test/spec/mkws-pazpar2.js

index 2651e9f..b8e4094 100644 (file)
@@ -94,7 +94,7 @@ describe("Check pazpar2 navigation", function () {
 
 describe("Check pazpar2 hit counter", function () {
     it("check running search hit counter", function () {
-        var max_time = 10; // in seconds
+        var max_time = 16; // in seconds
         var expected_hits = 116; // at least expected hit counter
         var hits = 0;
 
@@ -102,7 +102,7 @@ describe("Check pazpar2 hit counter", function () {
             hits = get_hit_counter();
 
             return hits >= expected_hits;
-        }, "Expect N hits in x seconds", max_time * 1000);
+        }, "Expect " + expected_hits + " hits", max_time * 1000);
 
 
         runs(function () {