Commit fb63205
committed
test(otlp-http): add span flags to trace exporter test expectations
Add SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK flag with sampled bit (1) to all span assertions in trace_exporter_test.rb to align test expectations with actual span flag behavior.
- Add flags field to 6 span test assertions
- Set flags to SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK | 1 (sampled)
- Ensures test expectations match the span flags set during export
Signed-off-by: Arjun Rajappa <arjun.rajappa@ibm.com>1 parent eecd167 commit fb63205
2 files changed
Lines changed: 26 additions & 2 deletions
File tree
- exporter
- otlp-common/test/opentelemetry/exporter/otlp/common
- otlp-http/test/opentelemetry/exporter/otlp/http
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
| 513 | + | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| |||
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
744 | 748 | | |
745 | 749 | | |
746 | 750 | | |
| |||
753 | 757 | | |
754 | 758 | | |
755 | 759 | | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
756 | 764 | | |
757 | 765 | | |
758 | 766 | | |
| |||
765 | 773 | | |
766 | 774 | | |
767 | 775 | | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
768 | 780 | | |
769 | 781 | | |
770 | 782 | | |
| |||
807 | 819 | | |
808 | 820 | | |
809 | 821 | | |
810 | | - | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
811 | 827 | | |
812 | 828 | | |
813 | 829 | | |
814 | 830 | | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
815 | 835 | | |
816 | 836 | | |
817 | 837 | | |
| |||
831 | 851 | | |
832 | 852 | | |
833 | 853 | | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
834 | 858 | | |
835 | 859 | | |
836 | 860 | | |
| |||
0 commit comments