From cea9d69e281100cebc788e3dcea8a037231c2b18 Mon Sep 17 00:00:00 2001 From: Yingge He Date: Tue, 3 Jun 2025 02:53:01 -0700 Subject: [PATCH] Add more time for trace collection --- qa/L0_trace/test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/L0_trace/test.sh b/qa/L0_trace/test.sh index 8322e28d68..7b29ea017a 100755 --- a/qa/L0_trace/test.sh +++ b/qa/L0_trace/test.sh @@ -1087,6 +1087,9 @@ for p in {1..10}; do sleep 10 done +# Wait for all traces to be collected +sleep 5 + if ! [[ -s collected_traces.json && `grep -c "\"parentSpanId\":\"\"" ./collected_traces.json` == 1 && `grep -c "\"parentSpanId\":\"b7ad6b7169242424\"" ./collected_traces.json` == 10 ]] ; then echo -e "\n***\n*** collected_traces.json should contain 11 OTel trace, but it is not. \n***" exit 1