off-by-one error in hit count check
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 30 Aug 2013 13:15:18 +0000 (15:15 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 30 Aug 2013 13:15:18 +0000 (15:15 +0200)
test/spec/mkws-pazpar2.js

index c8b5d15..8df666f 100644 (file)
@@ -101,7 +101,7 @@ describe("Check pazpar2 hit counter", function () {
         waitsFor(function () {
             hits = get_hit_counter();
 
-            return hits >= expected_hits;
+            return hits > expected_hits;
         }, "Expect " + expected_hits + " hits", max_time * 1000);