Skip to content

Conversation

@lee-treehouse
Copy link
Contributor

@lee-treehouse lee-treehouse commented Dec 31, 2025

Failing test https://github.com/que-rb/que/actions/runs/20613438072/job/59201910077#step:5:131 for Test: Ruby 3.0, Rails 6.0, PostgreSQL 14 seems to be explained here

@lee-treehouse lee-treehouse changed the title Fix broken test for Test: Ruby 3.0, Rails 6.0, PostgreSQL 14 by specifying version of concurrent-ruby Fix broken test for Test: Ruby 3.0, Rails [6.0,6.1,7.0], PostgreSQL 14 by specifying version of concurrent-ruby Dec 31, 2025
@lee-treehouse lee-treehouse changed the title Fix broken test for Test: Ruby 3.0, Rails [6.0,6.1,7.0], PostgreSQL 14 by specifying version of concurrent-ruby Fix broken test for Test: Ruby 3.0, Rails 6.0 + 6.1, PostgreSQL 14 by specifying version of concurrent-ruby Dec 31, 2025
@ZimbiX
Copy link
Member

ZimbiX commented Jan 1, 2026

Thanks for looking into this!

With those Gemfiles, I like that the only difference between them is the version of the Rails gems, and I'd like to keep it that way; so I think I'd actually prefer the other solution posted in that StackOverflow - adding require 'logger' to the spec_helper after these lines:

que/spec/spec_helper.rb

Lines 11 to 13 in fbd57fd

if ENV['USE_RAILS'] == 'true'
require 'active_record'
require 'active_job'

@lee-treehouse lee-treehouse changed the title Fix broken test for Test: Ruby 3.0, Rails 6.0 + 6.1, PostgreSQL 14 by specifying version of concurrent-ruby Fix broken test for Test: Ruby 3.0, Rails 6.0 + 6.1, PostgreSQL 14 Jan 1, 2026
Copy link
Member

@ZimbiX ZimbiX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers!

@ZimbiX ZimbiX merged commit caa8b25 into que-rb:master Jan 1, 2026
23 checks passed
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