test/tracing/opentracing_test.rb in instana-1.7.8 vs test/tracing/opentracing_test.rb in instana-1.7.9

- old
+ new

@@ -211,11 +211,11 @@ assert_equal :exit, span[:data][:sdk][:type] span[:data][:sdk].delete(:type) span.set_tag(:'span.kind', :blah) assert_equal false, span[:data][:sdk].key?(:type) - assert_equal :blah, span[:data][:sdk][:custom][:'span.kind'] + assert_equal :blah, span[:data][:sdk][:custom][:tags][:'span.kind'] span.finish end def test_start_span_with_baggage @@ -248,9 +248,12 @@ span.finish(ts_finish) assert_equal ts_start_ms, span[:ts] assert_equal (ts_finish_ms - ts_start_ms), span[:d] + + assert_equal 1234, span[:data][:sdk][:custom][:tags][:start_tag] + assert_equal 'tag_value', span[:data][:sdk][:custom][:tags][:another_tag] end def test_nested_spans_using_child_of clear_all! entry_span = OpenTracing.start_span(:rack)