Skip to content

Commit 7f51184

Browse files
wu-shengclaude
andcommitted
fix: remove hardcoded endpoint name in E2E traces-list expected data
The traces-list.yml expected '/artist-provider' in endpointnames, but traces can have either '/artist-provider' or '/artist-consumer' depending on reporting order. Use notEmpty check instead of hardcoding a specific endpoint name. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cece3d5 commit 7f51184

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/case/expected/traces-list.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ traces:
1919
- segmentid: {{ notEmpty .segmentid }}
2020
endpointnames:
2121
{{- contains .endpointnames }}
22-
- /artist-provider
22+
- {{ notEmpty (index .endpointnames 0) }}
2323
{{- end }}
2424
duration: {{ ge .duration 0 }}
2525
start: {{ notEmpty .start}}

0 commit comments

Comments
 (0)