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 flaky InvokeCallbackWrapperTest due to non-deterministic segment ordering
The test assumed a fixed index order for trace segments, but segment
completion order between the main thread and thread pool is
non-deterministic. Find the child segment by checking for a non-null
ref instead of relying on list index.
Copy file name to clipboardExpand all lines: apm-sniffer/apm-sdk-plugin/sofarpc-plugin/src/test/java/org/apache/skywalking/apm/plugin/sofarpc/InvokeCallbackWrapperTest.java
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,10 @@ public void testOnResponse() throws InterruptedException {
0 commit comments