From df608bdc3f66727773705b0dd1fde19b04ad3628 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 9 Dec 2016 11:26:33 +0100 Subject: [PATCH] Bug 15108: [QA Follow-up] Remove the sleep Content-Type: text/plain; charset=utf-8 If we order by biblionumber within the same timestamp, there is no need to wait two seconds. Test is 20 seconds faster too. (Especially the last 2 seconds were very annoying :-) Signed-off-by: Marcel de Rooy --- Koha/OAI/Server/ListBase.pm | 2 +- t/db_dependent/OAI/Server.t | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Koha/OAI/Server/ListBase.pm b/Koha/OAI/Server/ListBase.pm index e225371..ff4ce6e 100644 --- a/Koha/OAI/Server/ListBase.pm +++ b/Koha/OAI/Server/ListBase.pm @@ -79,7 +79,7 @@ sub GetRecords { } $sql .= " - ORDER BY timestamp + ORDER BY timestamp,biblionumber "; # Use a subquery for sets since it allows us to use an index in diff --git a/t/db_dependent/OAI/Server.t b/t/db_dependent/OAI/Server.t index 8a177c0..483978e 100644 --- a/t/db_dependent/OAI/Server.t +++ b/t/db_dependent/OAI/Server.t @@ -112,7 +112,6 @@ foreach( 1..10 ) { }, }, }; - sleep 2; # FIXME Why do we need this sleep? } my $syspref = { -- 2.1.4