|
312 | 312 | .to eq('endpoint_run') |
313 | 313 | expect(span.get_tag('http.status_code')).to eq('405') |
314 | 314 | # TODO: JRuby 10.0 - Remove this skip after investigation. |
315 | | - unless RUBY_PLATFORM == 'java' && RUBY_ENGINE_VERSION.start_with?('10.0') |
| 315 | + unless PlatformHelpers.jruby_100? |
316 | 316 | expect(trace.send(:meta).fetch(Datadog::Tracing::Metadata::Ext::HTTP::TAG_ROUTE)) |
317 | 317 | .to eq('/base/hard_failure') |
318 | 318 | end |
|
445 | 445 | .to eq('endpoint_run') |
446 | 446 | expect(span.get_tag('http.status_code')).to eq('405') |
447 | 447 | # TODO: JRuby 10.0 - Remove this skip after investigation. |
448 | | - unless RUBY_PLATFORM == 'java' && RUBY_ENGINE_VERSION.start_with?('10.0') |
| 448 | + unless PlatformHelpers.jruby_100? |
449 | 449 | expect(trace.send(:meta).fetch(Datadog::Tracing::Metadata::Ext::HTTP::TAG_ROUTE)) |
450 | 450 | .to eq('/base/soft_failure') |
451 | 451 | end |
|
466 | 466 | .to eq('endpoint_run') |
467 | 467 | expect(span.get_tag('http.status_code')).to eq('405') |
468 | 468 | # TODO: JRuby 10.0 - Remove this skip after investigation. |
469 | | - unless RUBY_PLATFORM == 'java' && RUBY_ENGINE_VERSION.start_with?('10.0') |
| 469 | + unless PlatformHelpers.jruby_100? |
470 | 470 | expect(trace.send(:meta).fetch(Datadog::Tracing::Metadata::Ext::HTTP::TAG_ROUTE)) |
471 | 471 | .to eq('/base/soft_failure') |
472 | 472 | end |
|
488 | 488 | .to eq('endpoint_run') |
489 | 489 | expect(span.get_tag('http.status_code')).to eq('405') |
490 | 490 | # TODO: JRuby 10.0 - Remove this skip after investigation. |
491 | | - unless RUBY_PLATFORM == 'java' && RUBY_ENGINE_VERSION.start_with?('10.0') |
| 491 | + unless PlatformHelpers.jruby_100? |
492 | 492 | expect(trace.send(:meta).fetch(Datadog::Tracing::Metadata::Ext::HTTP::TAG_ROUTE)) |
493 | 493 | .to eq('/base/soft_failure') |
494 | 494 | end |
|
510 | 510 | .to eq('endpoint_run') |
511 | 511 | expect(span.get_tag('http.status_code')).to eq('405') |
512 | 512 | # TODO: JRuby 10.0 - Remove this skip after investigation. |
513 | | - unless RUBY_PLATFORM == 'java' && RUBY_ENGINE_VERSION.start_with?('10.0') |
| 513 | + unless PlatformHelpers.jruby_100? |
514 | 514 | expect(trace.send(:meta).fetch(Datadog::Tracing::Metadata::Ext::HTTP::TAG_ROUTE)) |
515 | 515 | .to eq('/base/soft_failure') |
516 | 516 | end |
|
532 | 532 | .to eq('endpoint_run') |
533 | 533 | expect(span.get_tag('http.status_code')).to eq('405') |
534 | 534 | # TODO: JRuby 10.0 - Remove this skip after investigation. |
535 | | - unless RUBY_PLATFORM == 'java' && RUBY_ENGINE_VERSION.start_with?('10.0') |
| 535 | + unless PlatformHelpers.jruby_100? |
536 | 536 | expect(trace.send(:meta).fetch(Datadog::Tracing::Metadata::Ext::HTTP::TAG_ROUTE)) |
537 | 537 | .to eq('/base/soft_failure') |
538 | 538 | end |
|
0 commit comments