8000 Add queue priority ordering tests by PatrickTulskie · Pull Request #1930 · resque/resque · GitHub
[go: up one dir, main page]

Skip to content

Add queue priority ordering tests#1930

Open
PatrickTulskie wants to merge 1 commit intoresque:masterfrom
PatrickTulskie:queue-priority-test
Open

Add queue priority ordering tests#1930
PatrickTulskie wants to merge 1 commit intoresque:masterfrom
PatrickTulskie:queue-priority-test

Conversation

@PatrickTulskie
Copy link
Member

While tracking down a priority issue in a large production app, I noticed the existing wildcard queue tests only assert that all jobs eventually drain — not that named queues are actually processed before wildcard-expanded ones.

This adds three tests that explicitly assert ordering, which would have caught the 2012 regression where * forced alphabetical ordering regardless of explicitly named 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.

1 participant

0