Bug 28288 - XISBN.t is failing is 500 is returned by the webservice
Summary: XISBN.t is failing is 500 is returned by the webservice
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on: 12782 26364
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-04 14:38 UTC by Jonathan Druart
Modified: 2021-12-13 21:10 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
21.05.00,20.11.06,20.05.12


Attachments
Bug 28288: Prevent XSISBN.t to fail if service is returning 500 (1.47 KB, patch)
2021-05-04 14:39 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2021-05-04 14:38:09 UTC
16:00:45 koha_1       | WARNING: URL Request Failed 500 read timeout
16:00:45 koha_1       | WARNING: URL Request Failed 500 read timeout
16:00:45 koha_1       | WARNING: URL Request Failed 500 Can't connect to www.librarything.com:443
16:00:45 koha_1       | # Looks like you planned 6 tests but ran 5.
16:00:45 koha_1       | [13:59:51] t/db_dependent/XISBN.t .................................................. 
16:00:45 koha_1       | Dubious, test returned 255 (wstat 65280, 0xff00)
16:00:45 koha_1       | Failed 1/6 subtests 
16:00:45 koha_1       | 	(less 3 skipped subtests: 2 okay)
Comment 1 Jonathan Druart 2021-05-04 14:39:21 UTC
Created attachment 120471 [details] [review]
Bug 28288: Prevent XSISBN.t to fail if service is returning 500

16:00:45 koha_1       | WARNING: URL Request Failed 500 read timeout
16:00:45 koha_1       | WARNING: URL Request Failed 500 read timeout
16:00:45 koha_1       | WARNING: URL Request Failed 500 Can't connect to www.librarything.com:443
16:00:45 koha_1       | # Looks like you planned 6 tests but ran 5.
16:00:45 koha_1       | [13:59:51] t/db_dependent/XISBN.t
16:00:45 koha_1       | Dubious, test returned 255 (wstat 65280, 0xff00)
16:00:45 koha_1       | Failed 1/6 subtests
16:00:45 koha_1       | 	(less 3 skipped subtests: 2 okay)
Comment 2 Jonathan Druart 2021-05-04 14:41:36 UTC
Pushed to master for 21.05.
Comment 3 Fridolin Somers 2021-05-11 14:01:36 UTC
Pushed to 20.11.x for 20.11.06
Comment 4 Andrew Fuerste-Henry 2021-05-25 12:02:30 UTC
Pushed to 20.05.x for 20.05.12
Comment 5 Victor Grousset/tuxayo 2021-05-25 14:27:11 UTC
Not backported to oldoldstable (19.11.x). Feel free to ask if it's needed.