You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix rocketmq-scenario: start consumer before producer, no blocking
The previous latch.await(30s) approach blocked the HTTP handler far
longer than curl's --max-time 3 timeout, causing curl to disconnect
and the entry span to never complete. Only the healthCheck segment
was collected.
Now the consumer starts first so it is already subscribed when the
message is sent. The endpoint returns immediately (within curl's
timeout), and the 5-second sleep in run.sh gives the agent time to
flush both producer and consumer segments to the collector.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: test/plugin/scenarios/rocketmq-scenario/src/main/java/test/apache/skywalking/apm/testcase/rocketmq/controller/CaseController.java
0 commit comments