Bugzilla – Attachment 23537 Details for
Bug 11124
The staff benchmark script does not work with sql administrator account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11124: QA Follow-up resolving a warning and three typos
Bug-11124-QA-Follow-up-resolving-a-warning-and-thr.patch (text/plain), 2.39 KB, created by
Kyle M Hall (khall)
on 2013-12-13 18:52:57 UTC
(
hide
)
Description:
Bug 11124: QA Follow-up resolving a warning and three typos
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-12-13 18:52:57 UTC
Size:
2.39 KB
patch
obsolete
>From 9392121b479fcd3f7582a7bbc5420f3566478241 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 6 Dec 2013 11:13:41 +0100 >Subject: [PATCH] Bug 11124: QA Follow-up resolving a warning and three typos > >Resolves warning on uninitialized author in split on line 128. >Just adds the same behavior for title on line 129 for completeness. >Fixes typo on occurrences and two other minor typos. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > misc/load_testing/benchmark_staff.pl | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/misc/load_testing/benchmark_staff.pl b/misc/load_testing/benchmark_staff.pl >index 6ccaa49..56085c8 100644 >--- a/misc/load_testing/benchmark_staff.pl >+++ b/misc/load_testing/benchmark_staff.pl >@@ -42,10 +42,10 @@ my $short_psec="|-\n|ON\n"; > > if ($help || !$baseurl || !$user || !$password) { > print <<EOF >-This script runs a benchmark of the staff interface. It benchmark 6 different pages: >+This script runs a benchmark of the staff interface. It benchmarks 6 different pages: > \t1- the staff main page > \t2- the catalog detail page, with a random biblionumber >-\t3- the catalog search page, using a term retrieved from one of the 10 first title/author in the database >+\t3- the catalog search page, using a term retrieved from one of the 10 first titles/authors in the database > \t4- the patron detail page, with a random borrowernumber > \t5- the patron search page, searching for "Jean" > \t6- the circulation itself, doing check-out and check-in of random items to random patrons >@@ -125,8 +125,8 @@ $sth->execute; > my ($title,$author); > my @searchwords; > while (($title,$author)=$sth->fetchrow) { >- push @searchwords,split / /, $author; >- push @searchwords,split / /, $title; >+ push @searchwords,split / /, $author//''; >+ push @searchwords,split / /, $title//''; > } > > $sth = $dbh->prepare("select max(itemnumber) from items"); >@@ -139,7 +139,7 @@ unless ($short_print) { > print "--------------\n"; > print "Koha STAFF benchmarking utility\n"; > print "--------------\n"; >- print "Benchmarking with $max_tries occurences of each operation and $concurrency concurrent sessions \n"; >+ print "Benchmarking with $max_tries occurrences of each operation and $concurrency concurrent sessions \n"; > } > # > # the global benchmark we do at the end... >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11124
:
22316
|
23333
|
23334
|
23335
|
23536
| 23537 |
23538