This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git


The following commit(s) were added to refs/heads/main by this push:
     new 3f93954  Fix netty-socketio plugin test failure (#56)
3f93954 is described below

commit 3f93954c5cdef5bdca0ee93555e95539aabf4513
Author: mrproliu <[email protected]>
AuthorDate: Tue Oct 26 20:44:03 2021 +0800

    Fix netty-socketio plugin test failure (#56)
---
 .../config/expectedData.yaml                       | 32 +++++++++++++++++++---
 1 file changed, 28 insertions(+), 4 deletions(-)

diff --git 
a/test/plugin/scenarios/netty-socketio-scenario/config/expectedData.yaml 
b/test/plugin/scenarios/netty-socketio-scenario/config/expectedData.yaml
index 72bb17f..46a9fbb 100644
--- a/test/plugin/scenarios/netty-socketio-scenario/config/expectedData.yaml
+++ b/test/plugin/scenarios/netty-socketio-scenario/config/expectedData.yaml
@@ -64,8 +64,8 @@ segmentItems:
   - segmentId: not null
     spans:
     - operationName: /socket.io/
-      parentSpanId: -1
-      spanId: 0
+      parentSpanId: 0
+      spanId: 1
       spanLayer: Http
       startTime: nq 0
       endTime: nq 0
@@ -74,6 +74,30 @@ segmentItems:
       spanType: Exit
       peer: not null
       tags:
-      - {key: http.method, value: not null}
-      - {key: url, value: not null}
+        - { key: http.method, value: not null }
+        - { key: url, value: not null }
+      skipAnalysis: 'false'
+    - operationName: Callback/onResponse
+      operationId: 0
+      parentSpanId: 0
+      spanId: 2
+      spanLayer: Unknown
+      startTime: nq 0
+      endTime: nq 0
+      componentId: 0
+      isError: false
+      spanType: Local
+      peer: ''
+      skipAnalysis: false
+    - operationName: Async/execute
+      operationId: 0
+      parentSpanId: -1
+      spanId: 0
+      spanLayer: Unknown
+      startTime: nq 0
+      endTime: nq 0
+      componentId: 0
+      isError: false
+      spanType: Local
+      peer: ''
       skipAnalysis: 'false'

Reply via email to