[Koha-bugs] [Bug 36010] Items/AutomaticItemModificationByAge.t is failing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 9 09:26:32 CET 2024


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

--- Comment #11 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Well, recreating what Jenkins does is always a good thing.

So, it's failing:

  koha-mysql kohadev -e "DROP DATABASE koha_kohadev" || true
  mysql -h db -u koha_kohadev -ppassword -e"CREATE DATABASE koha_kohadev"
  flush_memcached
  sudo service apache2 restart
  sudo service koha-common restart
  koha-mysql kohadev <
/kohadevbox/misc4dev/data/sql/marc21/dump_kohadev_v19.11.00.sql
  sudo koha-shell kohadev -p -c 'perl
/kohadevbox/koha/installer/data/mysql/updatedatabase.pl'
  koha-mysql kohadev -e 'UPDATE systempreferences SET value="21.1100000" WHERE
variable="version"'
  sudo koha-shell kohadev -p -c 'perl
/kohadevbox/koha/installer/data/mysql/updatedatabase.pl'


Then:
prove
t/db_dependent/Items/AutomaticItemModificationByAge.tt/db_dependent/Items/AutomaticItemModificationByAge.t
.. 18/20 #   Failed test 'ToggleNewStatus: conditions on biblio'#   at
t/db_dependent/Items/AutomaticItemModificationByAge.t line 356.#          got:
'agefield_new_value'#     expected: 'new_updated_value_biblio'# Looks like you
failed 1 test of 20.
t/db_dependent/Items/AutomaticItemModificationByAge.t .. Dubious, test returned
1 (wstat 256, 0x100)
Failed 1/20 subtests 

Test Summary Report
-------------------
t/db_dependent/Items/AutomaticItemModificationByAge.t (Wstat: 256 Tests: 20
Failed: 1)
  Failed test:  19
  Non-zero exit status: 1
Files=1, Tests=20,  3 wallclock secs ( 0.02 usr  0.01 sys +  1.84 cusr  0.26
csys =  2.13 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list