Commit b1edad5
committed
test(pipeline): strengthen OTLP coverage and document header pairing
Address review-until-green feedback on the OTLP binding:
- Pin the default wire protocol: the endpoint-only OTLP test now asserts the
request content-type is JSON (the http/json default) instead of accepting
either json or protobuf.
- Cover multi-header export and the odd-length trailing-drop in one test (two
header pairs plus a stray unpaired element; assert both pairs arrive).
- Document that setOtlpHeaders ignores a trailing unpaired element, replaces
prior headers, and that setOtlpEndpoint takes precedence over setUseV05.1 parent 1d566bc commit b1edad5
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
305 | 306 | | |
306 | 307 | | |
307 | 308 | | |
| |||
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
323 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
324 | 327 | | |
325 | 328 | | |
| 329 | + | |
| 330 | + | |
326 | 331 | | |
327 | 332 | | |
328 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
866 | | - | |
| 866 | + | |
| 867 | + | |
867 | 868 | | |
868 | 869 | | |
869 | 870 | | |
| |||
880 | 881 | | |
881 | 882 | | |
882 | 883 | | |
883 | | - | |
| 884 | + | |
| 885 | + | |
884 | 886 | | |
885 | 887 | | |
886 | 888 | | |
| |||
892 | 894 | | |
893 | 895 | | |
894 | 896 | | |
895 | | - | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
896 | 900 | | |
897 | 901 | | |
898 | 902 | | |
| |||
904 | 908 | | |
905 | 909 | | |
906 | 910 | | |
| 911 | + | |
907 | 912 | | |
908 | 913 | | |
909 | 914 | | |
| |||
0 commit comments