Bug 35393 - Fix Objects.t for a Jenkins failure when run just after midnight
Summary: Fix Objects.t for a Jenkins failure when run just after midnight
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Marcel de Rooy
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-24 07:24 UTC by Marcel de Rooy
Modified: 2024-07-04 20:42 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00
Circulation function:


Attachments
Bug 35393: Fix Objects.t - filter_by_last_update (2.13 KB, patch)
2023-11-24 07:28 UTC, Marcel de Rooy
Details | Diff | Splinter Review
Bug 35393: Fix Objects.t - filter_by_last_update (2.18 KB, patch)
2023-11-24 07:30 UTC, Marcel de Rooy
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel de Rooy 2023-11-24 07:24:21 UTC
# Subtest: Parameters older_than, younger_than
        ok 1 - All updated yesterday
        not ok 2 - Yesterday, truncated from is inclusive
        ok 3 - Yesterday, not truncated, one hour too late
        ok 4 - Yesterday - 1h, not truncated, within time frame

Run around 12:20 AM
Comment 1 Marcel de Rooy 2023-11-24 07:28:07 UTC Comment hidden (obsolete)
Comment 2 Marcel de Rooy 2023-11-24 07:28:27 UTC
Pushing into the queue of Tomas.
Comment 3 Marcel de Rooy 2023-11-24 07:30:53 UTC
Created attachment 159227 [details] [review]
Bug 35393: Fix Objects.t - filter_by_last_update

Test plan:
Keep awake until just after midnight :)
Run t/db_dependent/Koha/Objects.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Tomás Cohen Arazi (tcohen) 2023-11-24 11:41:18 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!