File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
sample-applications/integ-test-app Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 42
42
43
43
- name : Ensure Unit Tests are passing
44
44
run : |
45
- pytest exporters/aws-otel-otlp-udp-exporter/tests/test_exporter.py
45
+ pytest exporters/aws-otel-otlp-udp-exporter/tests/
46
46
47
47
- name : Run Sample App in Background
48
48
working-directory : sample-applications/integ-test-app
56
56
run : |
57
57
echo "traceId=$(curl localhost:8080/test)" >> $GITHUB_OUTPUT
58
58
59
- - name : Print Daemon Logs
60
- run : |
61
- sleep 20
62
- cat xray-daemon/daemon-logs.log
63
-
64
59
- name : Verify X-Ray daemon received traces
65
60
run : |
61
+ sleep 10
66
62
echo "X-Ray daemon logs:"
67
63
cat xray-daemon/daemon-logs.log
68
64
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def create_trace():
41
41
success = tracer_provider .force_flush ()
42
42
print (f"Force flush { 'succeeded' if success else 'failed' } " )
43
43
44
- return jsonify ({ " trace_id" : trace_id })
44
+ return trace_id
45
45
46
46
47
47
if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments