Bug 28288

Summary: XISBN.t is failing is 500 is returned by the webservice
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: andrewfh, fridolin.somers, victor
Version: Main   
Hardware: All   
OS: All   
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
Bug Depends on: 12782, 26364    
Bug Blocks:    
Attachments: Bug 28288: Prevent XSISBN.t to fail if service is returning 500

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.