Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion gemfiles/testunit.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

source 'https://rubygems.org'

gem 'test-unit'
# test-unit 3.7.4 changed `TestSuite#run` method signature.
# Earlier versions cause ArgumentError in test-queue's TestSuite subclass,
# crashing workers and causing the master process to hang indefinitely.
gem 'test-unit', '>= 3.7.4'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add a brief source code comment explaining the reason? For example:

Suggested change
gem 'test-unit', '>= 3.7.4'
# test-unit 3.7.4 changed `TestSuite#run` method signature.
# Earlier versions cause ArgumentError in test-queue's TestSuite subclass,
# crashing workers and causing the master process to hang indefinitely.
gem 'test-unit', '>= 3.7.4'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for your review.
I've added a comment explaining why the test-unit version was selected.


gemspec path: '../'