Bug 40406: Remove warnings from selenium/basic_workflow.t
t/db_dependent/selenium/basic_workflow.t .. 1/22 CP main = 1.93
t/db_dependent/selenium/basic_workflow.t .. 3/22 CP add patron category = 3.56
t/db_dependent/selenium/basic_workflow.t .. 5/22 CP add patron = 4.31
CP add biblio = 0.29
t/db_dependent/selenium/basic_workflow.t .. 11/22 CP add items = 9.81
t/db_dependent/selenium/basic_workflow.t .. 16/22 CP checkout = 5.97
t/db_dependent/selenium/basic_workflow.t .. 20/22 CP checkin = 4.04
t/db_dependent/selenium/basic_workflow.t .. 22/22 CP holds = 5.60
t/db_dependent/selenium/basic_workflow.t .. ok
This has been used in the past for benchmarking Koha.
I suggest to keep the warn but comment it.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0e12c572e8)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
eb4e66dbfb
commit
c4f54429a7
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
use Modern::Perl;
|
||||
|
||||
use Test::More tests => 23;
|
||||
use Test::NoWarnings;
|
||||
|
||||
use Time::HiRes qw(gettimeofday);
|
||||
use POSIX qw(strftime);
|
||||
use C4::Context;
|
||||
|
|
@ -39,7 +42,6 @@ use C4::Biblio qw( AddBiblio );
|
|||
|
||||
use Koha::CirculationRules;
|
||||
|
||||
use Test::More tests => 22;
|
||||
use MARC::Record;
|
||||
use MARC::Field;
|
||||
|
||||
|
|
@ -326,6 +328,7 @@ sub cleanup {
|
|||
sub time_diff {
|
||||
my $lib = shift;
|
||||
my $now = gettimeofday;
|
||||
warn "CP $lib = " . sprintf( "%.2f", $now - $prev_time ) . "\n";
|
||||
|
||||
#warn "CP $lib = " . sprintf( "%.2f", $now - $prev_time ) . "\n";
|
||||
$prev_time = $now;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue