hailin0 commented on code in PR #8456:
URL: https://github.com/apache/seatunnel/pull/8456#discussion_r1903284707
##########
seatunnel-api/src/test/java/org/apache/seatunnel/api/tracing/MDCTracerTest.java:
##########
@@ -169,58 +171,70 @@ public void testMDCTracedStream() throws Exception {
Assertions.assertNull(MDC.get(MDCContext.PIPELINE_ID));
Assertions.assertNull(MDC.get(MDCContext.TASK_ID));
- tracedStream = MDCTracer.tracing(mdcContext, Arrays.asList(1, 2,
3).stream());
+ try (MDCContext ignored = MDCContext.of(1, 2, 3).activate()) {
Review Comment:
add testcase
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]