Bug 26906 - Koha_ExternalContent_OverDrive.t is failing randomly
Summary: Koha_ExternalContent_OverDrive.t is failing randomly
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor (vote)
Assignee: Chris Cormack
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 25551
  Show dependency treegraph
 
Reported: 2020-11-03 10:00 UTC by Jonathan Druart
Modified: 2020-11-03 10:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2020-11-03 10:00:52 UTC
Master_U18 (run 933)

18:10:19 koha_1       | #   Failed test 'error_message()'
18:10:19 koha_1       | #   at t/db_dependent/Koha_ExternalContent_OverDrive.t line 41.
18:10:19 koha_1       | # Original:
18:10:19 koha_1       | # Can't connect to oauth.overdrive.com:443
18:10:19 koha_1       | # Request:
18:10:19 koha_1       | # POST https://oauth.overdrive.com/token
18:10:19 koha_1       | # Authorization: Basic RFVNTVk6RFVNTVk=
18:10:19 koha_1       | # User-Agent: Koha/20.06.00.055
18:10:19 koha_1       | # Content-Length: 126
18:10:19 koha_1       | # Content-Type: application/x-www-form-urlencoded
18:10:19 koha_1       | # 
18:10:19 koha_1       | # code=blah&grant_type=authorization_code&redirect_uri=http%3A%2F%2Fmykoha.org%2Fcgi-bin%2Fkoha%2Fexternal%2Foverdrive%2Fauth.pl
18:10:19 koha_1       | # 
18:10:19 koha_1       | # Response:
18:10:19 koha_1       | # 500 Can't connect to oauth.overdrive.com:443
18:10:19 koha_1       | # Content-Type: text/plain
18:10:19 koha_1       | # Client-Date: Mon, 02 Nov 2020 17:10:19 GMT
18:10:19 koha_1       | # Client-Warning: Internal response
18:10:19 koha_1       | # 
18:10:19 koha_1       | # Can't connect to oauth.overdrive.com:443
18:10:19 koha_1       | # 
18:10:19 koha_1       | # 
18:10:19 koha_1       | # Turned into:
18:10:19 koha_1       | # Can't connect to oauth.overdrive.com:443
18:10:19 koha_1       | # Looks like you failed 1 test of 6.
18:10:19 koha_1       | [17:10:19] t/db_dependent/Koha_ExternalContent_OverDrive.

Maybe we should skip the test if the server is not reachable.