Skip to content

Commit afd74af

Browse files
committed
excepted data not match, fix excepted data
1 parent 9d2c225 commit afd74af

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

test/plugins/scenarios/http/config/excepted.yml

+16-15
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,21 @@ segmentItems:
5757
- {key: http.method, value: GET}
5858
- {key: url, value: 'localhost:8080/provider'}
5959
- {key: status_code, value: '200'}
60+
- operationName: GET:/errortest
61+
parentSpanId: 0
62+
spanId: 2
63+
spanLayer: Http
64+
startTime: gt 0
65+
endTime: gt 0
66+
componentId: 5005
67+
isError: false
68+
spanType: Exit
69+
peer: localhost:8080
70+
skipAnalysis: false
71+
tags:
72+
- {key: http.method, value: GET}
73+
- {key: url, value: 'localhost:8080/errortest'}
74+
- {key: status_code, value: '500'}
6075
- operationName: GET:/consumer
6176
parentSpanId: -1
6277
spanId: 0
@@ -73,21 +88,6 @@ segmentItems:
7388
- {key: url, value: 'service:8080/consumer'}
7489
- {key: http.params, value: ''}
7590
- {key: status_code, value: '200'}
76-
- operationName: GET:/errortest
77-
parentSpanId: 0
78-
spanId: 2
79-
spanLayer: Http
80-
startTime: gt 0
81-
endTime: gt 0
82-
componentId: 5005
83-
isError: false
84-
spanType: Exit
85-
peer: localhost:8080
86-
skipAnalysis: false
87-
tags:
88-
- {key: http.method, value: GET}
89-
- {key: url, value: 'localhost:8080/errortest'}
90-
- {key: status_code, value: '500'}
9191
- segmentId: not null
9292
spans:
9393
- operationName: GET:/errortest
@@ -104,6 +104,7 @@ segmentItems:
104104
tags:
105105
- {key: http.method, value: GET}
106106
- {key: url, value: 'localhost:8080/errortest'}
107+
- {key: http.params, value: ''}
107108
- {key: status_code, value: '500'}
108109
refs:
109110
- {parentEndpoint: 'GET:/consumer', networkAddress: 'localhost:8080', refType: CrossProcess,

0 commit comments

Comments
 (0)