https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19097

--- Comment #28 from Jonathan Druart <[email protected]> ---
This bug makes Koha_Main_My8 fails:

t/db_dependent/Biblio.t .. 1/24 
    #   Failed test 'We expect two hits'
    #   at t/db_dependent/Biblio.t line 147.
    #          got: '1'
    #     expected: '2'

    #   Failed test 'Testing a random column for existence in 2nd hash'
    #   at t/db_dependent/Biblio.t line 149.
    # Looks like you failed 2 tests of 27.

#   Failed test 'GetMarcSubfieldStructureFromKohaField'
#   at t/db_dependent/Biblio.t line 155.
t/db_dependent/Biblio.t .. 11/24 # Looks like you failed 1 test of 24.
t/db_dependent/Biblio.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/24 subtests 

Test Summary Report
-------------------
t/db_dependent/Biblio.t (Wstat: 256 (exited 1) Tests: 24 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=1, Tests=24,  8 wallclock secs ( 0.05 usr  0.01 sys +  4.84 cusr  1.81
csys =  6.71 CPU)
Result: FAIL

This is because jenkins's config for this job has `export TEST_DB_UPGRADE=yes`,
which means the test suite will be run after we run the update DB process (and
not after a "regular" installation simulated using the installer/onboarding
selenium tests)

You can easily recreate (not necessarily using My8):

    1  koha-mysql kohadev -e "DROP DATABASE koha_kohadev" || true
    2  mysql -h db -u koha_kohadev -ppassword -e"CREATE DATABASE koha_kohadev"
    3  flush_memcached
    4  sudo service apache2 restart
    5  sudo service koha-common restart
    6  koha-mysql kohadev <
/kohadevbox/misc4dev/data/sql/marc21/dump_kohadev_v19.11.00.sql
    7  sudo koha-shell kohadev -p -c 'perl
/kohadevbox/koha/installer/data/mysql/updatedatabase.pl'

Then prove t/db_dependent/Biblio.t

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to