test/instrumentation/sidekiq-client_test.rb in instana-1.6.0 vs test/instrumentation/sidekiq-client_test.rb in instana-1.6.1
- old
+ new
@@ -76,11 +76,11 @@
assert_equal first_span.id, second_span[:p]
assert_equal :'sidekiq-client', second_span[:n]
assert_equal 'some_random_queue', second_span[:data][:'sidekiq-client'][:queue]
assert_equal 'SidekiqJobOne', second_span[:data][:'sidekiq-client'][:job]
- assert_equal false, second_span[:data][:'sidekiq-client'][:retry]
+ assert_equal "false", second_span[:data][:'sidekiq-client'][:retry]
assert_equal job['jid'], second_span[:data][:'sidekiq-client'][:job_id]
end
def assert_failure_trace_recorded
assert_equal 1, ::Instana.processor.queue_count
@@ -100,10 +100,10 @@
assert_equal true, second_span[:error]
assert_equal false, second_span[:stack].nil?
assert_equal 'some_random_queue', second_span[:data][:'sidekiq-client'][:queue]
assert_equal 'SidekiqJobTwo', second_span[:data][:'sidekiq-client'][:job]
- assert_equal false, second_span[:data][:'sidekiq-client'][:retry]
+ assert_equal "false", second_span[:data][:'sidekiq-client'][:retry]
assert_equal 'Fail to enqueue job', second_span[:data][:log][:message]
end
SidekiqMiddlewareException = Class.new do
def call(*_args)