Skip to content

[12.x] Add test coverage for filtering failed jobs by connection and queue #55441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

roshandelpoor
Copy link
Contributor

This PR adds a new test case to enhance the test coverage of the DatabaseFailedJobProvider class. The new test specifically verifies the ability to filter and retrieve failed jobs by both connection and queue simultaneously.

Added Test Case

  • Added testCanRetrieveFailedJobsByConnectionAndQueue() which verifies:
    • Multiple failed jobs can be stored with different connections and queues
    • Jobs can be accurately filtered by both connection and queue parameters
    • Exception messages are properly stored and retrieved
    • Filtering correctly excludes jobs from other connections and queues

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