test/tracing/opentracing_test.rb in instana-1.193.6 vs test/tracing/opentracing_test.rb in instana-1.195.0

- old
+ new

@@ -302,11 +302,11 @@ assert first_span[:p].nil? assert_equal first_span[:s], second_span[:p] assert_equal second_span[:s], third_span[:p] # Every span should have baggage - assert_equal(nil, entry_span.context.baggage) + assert_equal({}, entry_span.context.baggage) assert_equal({:my_bag=>1}, ac_span.context.baggage) assert_equal({:my_bag=>1}, av_span.context.baggage) end def test_context_should_carry_baggage @@ -329,12 +329,12 @@ entry_span.finish spans = ::Instana.processor.queued_spans assert_equal 3, spans.length - assert_equal(nil, entry_span.context.baggage) + assert_equal({}, entry_span.context.baggage) assert_equal({:my_bag=>1}, ac_span.context.baggage) - assert_equal(nil, av_span.context.baggage) + assert_equal({}, av_span.context.baggage) end def test_start_active_span clear_all!