Skip to content

Commit 5664782

Browse files
committed
some small updates
1 parent bf11d7f commit 5664782

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/release-udp-exporter.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
- name: Ensure Unit Tests are passing
4444
run: |
45-
pytest exporters/aws-otel-otlp-udp-exporter/tests/test_exporter.py
45+
pytest exporters/aws-otel-otlp-udp-exporter/tests/
4646
4747
- name: Run Sample App in Background
4848
working-directory: sample-applications/integ-test-app
@@ -56,13 +56,9 @@ jobs:
5656
run: |
5757
echo "traceId=$(curl localhost:8080/test)" >> $GITHUB_OUTPUT
5858
59-
- name: Print Daemon Logs
60-
run: |
61-
sleep 20
62-
cat xray-daemon/daemon-logs.log
63-
6459
- name: Verify X-Ray daemon received traces
6560
run: |
61+
sleep 10
6662
echo "X-Ray daemon logs:"
6763
cat xray-daemon/daemon-logs.log
6864

sample-applications/integ-test-app/udp_exporter_validation_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def create_trace():
4141
success = tracer_provider.force_flush()
4242
print(f"Force flush {'succeeded' if success else 'failed'}")
4343

44-
return jsonify({"trace_id": trace_id})
44+
return trace_id
4545

4646

4747
if __name__ == "__main__":

0 commit comments

Comments
 (0)