w3c / baggage

Propagation format for distributed context: Baggage
https://w3c.github.io/baggage/
Other
46 stars 18 forks source link

Extend parse tests with more use cases #134

Open pellared opened 3 months ago

pellared commented 3 months ago

https://github.com/w3c/baggage/blob/main/test/test_baggage.py can have more test cases added. Some can be taken from https://github.com/open-telemetry/opentelemetry-go/blob/5449f083aa4af79313d5fe5fecd554af2cb7bbbc/baggage/baggage_test.go#L239.

This can help implementers of the baggage propagator to avoid some common issues. E.g.

CC @lachmatt @vishweshbankwar