Skip to content

Commit 31dd65e

Browse files
committed
test
1 parent ebbeae2 commit 31dd65e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python-ec2-genesis-test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,12 @@ jobs:
4545
ID_1="$(printf '%08x' $(date +%s))"
4646
ID_2="$(openssl rand -hex 12)"
4747
W3C_TRACE_ID="${ID_1}${ID_2}"
48-
XRAY_TRACE_ID="Root=1-${ID_1}-${ID_2};Parent=$(openssl rand -hex 8);Sampled=1"
48+
XRAY_TRACE_ID="1-${ID_1}-${ID_2}"
4949
echo "XRAY_TRACE_ID=${XRAY_TRACE_ID}" >> $GITHUB_ENV
5050
echo "W3C_TRACE_ID=${W3C_TRACE_ID}" >> $GITHUB_ENV
5151
echo "Generated XRay Trace ID: ${XRAY_TRACE_ID}"
52-
52+
echo "Generated W3C Trace ID: ${XRAY_TRACE_ID}"
53+
5354
- name: Configure AWS Credentials
5455
uses: aws-actions/configure-aws-credentials@v4
5556
with:
@@ -110,7 +111,7 @@ jobs:
110111
export NUM_REQUESTS="1"
111112
export DELAY_SECONDS="5"
112113
export TIMEOUT="30"
113-
export TRACE_ID="${{ env.XRAY_TRACE_ID }}"
114+
export TRACE_ID="Root=${XRAY_TRACE_ID};Parent=$(openssl rand -hex 8);Sampled=1"
114115
./generate_traffic.sh
115116
116117
- name: Validate generated logs

0 commit comments

Comments
 (0)