Commit f396353
Add delay after consumer latch for agent segment flush
The CountDownLatch ensures the consumer callback fires, but the
SkyWalking agent still needs time to flush the consumer segment
to the mock collector via gRPC. The run.sh only waits 5 seconds
after the HTTP response before collecting data. Adding a 2-second
sleep after the latch gives the agent enough time to report.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6dd9f43 commit f396353
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- test/plugin/scenarios/rocketmq-scenario/src/main/java/test/apache/skywalking/apm/testcase/rocketmq/controller
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
0 commit comments