From cff6ff0ea10d77c76bb0cef6eaa8e7d62474d5d7 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 30 Aug 2013 14:59:41 +0200 Subject: [PATCH] wait up to 16 seconds for results --- test/spec/mkws-pazpar2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 2651e9f..b8e4094 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -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 () { -- 1.7.10.4