Skip to content

Commit

Permalink
try explicitly disabling test parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyr committed Jul 17, 2023
1 parent e57c086 commit c68ff81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sidecloq.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'redlock', '>= 2.0.0', '< 3'
# mimics some dev dependencies of sidekiq:
spec.add_dependency 'concurrent-ruby'
spec.add_dependency 'rufus-scheduler', '~> 3.1', '>= 3.1.10'
spec.add_dependency 'rufus-scheduler', '~> 3.9'

spec.add_development_dependency 'rake', '>= 10.0'
spec.add_development_dependency 'minitest'
Expand Down
6 changes: 4 additions & 2 deletions test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

$TESTING = true
# disable minitest/parallel threads
ENV["MT_CPU"] = "0"
ENV['N'] = '0'
ENV["BACKTRACE"] = "1"

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'sidecloq'
require "bundler/setup"
Bundler.require(:default, :test)

require 'minitest/autorun'

Expand Down

0 comments on commit c68ff81

Please sign in to comment.