From 23e4b707fbb55f5fbc6d3304c64f669d0082650c Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 30 Aug 2013 15:15:18 +0200 Subject: [PATCH] off-by-one error in hit count check --- test/spec/mkws-pazpar2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index c8b5d15..8df666f 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -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); -- 1.7.10.4