Depending on what tests had already run, Otel tests in BaggagePropagationIntegrationTests could fail due to missing baggage related entries in the MDC. The entries were missing if Otel's ContextStorageWrappers had been marked as initialized without an EventPublishingContextWrapper containing event publisher that will publish to Slf4JBaggageEventListener. ContextStorageWrappers uses a static so this commit avoids to problem by forking a new classpath in BaggagePropagationIntegrationTests. This ensures that any previous static state in ContextStorageWrappers has no effect upon BaggagePropagationIntegrationTests. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||