Bug 24816

Summary: Test suite execution time
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Chris Cormack <chris>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: martin.renvoize, nick, tomascohen
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jonathan Druart 2020-03-05 16:55:49 UTC
Quick note, from Jenkins:
D8 -  Took 38 min on Docker_1
D9 -  Took 53 min on Docker_1

That needs to be investigated, and recreated in a proper benchmarking env.
Comment 1 Tomás Cohen Arazi (tcohen) 2020-03-05 17:06:14 UTC
It is for sure because of our dependencies madness (i.e. things like OAuth don't currently work unless you cpan CryptX) and the same must be happening to other libs that make tests skip.
Comment 2 Jonathan Druart 2020-03-09 15:21:27 UTC
On D8:
koha_1       | [10:55:44] t/db_dependent/api/v1/oauth.t ........................................... ok     2013 ms

On D9:
15:35:25 koha_1       | [14:35:25] t/db_dependent/api/v1/oauth.t ........................................... skipped: Net::OAuth2::AuthorizationServer not available

It's 2 seconds, and it's the reverse :)
Comment 3 Tomás Cohen Arazi (tcohen) 2020-03-09 15:23:47 UTC
(In reply to Jonathan Druart from comment #2)
> On D8:
> koha_1       | [10:55:44] t/db_dependent/api/v1/oauth.t
> ........................................... ok     2013 ms
> 
> On D9:
> 15:35:25 koha_1       | [14:35:25] t/db_dependent/api/v1/oauth.t
> ........................................... skipped:
> Net::OAuth2::AuthorizationServer not available
> 
> It's 2 seconds, and it's the reverse :)

It was just an example.
Comment 4 Jonathan Druart 2020-03-09 15:29:25 UTC
I've activated the "timestamp in output log" for all Master jobs.