[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-1189-gf2c0fe0

Git repo owner gitmaster at git.koha-community.org
Wed Oct 2 17:18:34 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  f2c0fe0ca1c2ba720dbc02b533fa7b6b0f17e40b (commit)
      from  bd5aec76494a10b6c908924b3a421f7ce08224f1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f2c0fe0ca1c2ba720dbc02b533fa7b6b0f17e40b
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Thu Aug 29 17:49:39 2013 +0200

    Bug 10806: make the staff benchmark script check authentication failure.
    
    Currently, if you launch the script
    misc/load_testing/benchmark_staff.pl, it always displays
    "Authentication successful" or continue to execute the script even if
    nothing is done.
    
    This patch checks if the url is right and if the authentication is
    correctly done.
    
    Test plan:
    Suppose that a correct login/pwd is koha/koha
    1/
    perl misc/load_testing/benchmark_staff.pl --steps=1
    --url=http://admin.koha.local/cgi-bin/koha/
    --password="koha" --user="koha"
    should produce:
      Authentication successful
      ...
      Step 1
      ...
    
    2/
    perl misc/load_testing/benchmark_staff.pl --steps=1
    --url=http://admin.koha.local/cgi-bin/koha/
    --password="KOHA" --user="KOHA"
    should produce:
    Authentication failure: bad login/password
    
    3/
    perl misc/load_testing/benchmark_staff.pl --steps=1
    --url=http://admin.kobe.local/cgi-bin/koha/
    --password="koha" --user="koha"
    should produce:
    Authentication failure:
        500 Can't connect to admin.kobe.local:80 (Bad
        hostname)
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    Comment: Works as described, detects bad url and user credentials.
    No koha-qa errors
    
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Works as described and gives better error messages.
    There are some warnings output when running the script before
    and after applying the patch.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 misc/load_testing/benchmark_staff.pl |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list