Skip to content

Commit

Permalink
adding explicit delayed_job require
Browse files Browse the repository at this point in the history
  • Loading branch information
arielvalentin committed Oct 7, 2023
1 parent 428a0a1 commit 5141f8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'appraisal', '~> 2.5'
spec.add_development_dependency 'bundler', '~> 2.4'
spec.add_development_dependency 'delayed_job', '~> 4.1.7'
spec.add_development_dependency 'debug'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'opentelemetry-sdk', '~> 1.1'
spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3'
Expand Down
3 changes: 2 additions & 1 deletion instrumentation/delayed_job/test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# We are compensating for that here in this test... that is a smell
# NoMethodError: undefined method `extract_options!' for [#<ActiveJobPayload:0x0000000108bf5d48>, {}]:Array
# delayed_job-4.1.11/lib/delayed/backend/job_preparer.rb:7:in `initialize'0
require 'active_support/core_ext/array'
# require 'active_support/core_ext/array'
require 'delayed_job'

require 'opentelemetry-instrumentation-delayed_job'

Expand Down

0 comments on commit 5141f8e

Please sign in to comment.