Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
tracker.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Apr 2019 at 19:17 UTC
Updated:
12 Sep 2023 at 07:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
claudiu.cristeaThis patch decreases the locally test run from 12.6 to 2.8 seconds.
Comment #3
naveenvalechaNeat conversion and we're not losing any coverage.
Thanks!
Comment #4
alexpottCommitted 516025b and pushed to 8.8.x. Thanks!
Committed 34434cc without the deprecation and pushed to 8.7.x in order to keep the test bases the same. Thanks!
Can we get a follow-up to remove this use of rand() - it's not the correct use of randomness in tests. And it can almost certain cause a random fail and rand() will return an integer between 0 and PHP_INT_MAX
Comment #7
alexpottComment #9
quietone commentedPublish the change record