Skip to content

Conversation

@jackbayliss
Copy link
Contributor

@jackbayliss jackbayliss commented Dec 12, 2025

This test seems to be flaky quite often in CI see :
https://github.com/laravel/framework/actions/runs/20151806630/job/57846064726
https://github.com/laravel/framework/actions/runs/20151281269/job/57844394190

I believe its due to race conditions with timestamps. When the two jobs are logged in quick succession, they occasionally get timestamps one second apart meaning the order is wrong.

This PR freezes the time as the test is more interested in the fact there's two jobs.

@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@jackbayliss jackbayliss marked this pull request as ready for review December 12, 2025 01:03
@taylorotwell taylorotwell merged commit bc19508 into laravel:12.x Dec 12, 2025
72 checks passed
@jackbayliss jackbayliss deleted the 12.x-fix-flaky-testCanRetrieveAllFailedJobs branch December 13, 2025 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants