Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
Signed-off-by: mehul gautam <[email protected]>
  • Loading branch information
mehul gautam committed Jul 17, 2024
1 parent 7545205 commit 6b62341
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/hotrod/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: '3.7'
# To run a specific version of Jaeger, use environment variable, e.g.:
# JAEGER_VERSION=1.52 docker compose up
# JAEGER_VERSION=1.52 docker compose up

services:
jaeger:
Expand Down
9 changes: 8 additions & 1 deletion scripts/hotrod-integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,15 @@ fi
response=$(curl -i -X POST "http://localhost:8080/dispatch?customer=123")
TRACE_ID=$(echo "$response" | grep -Fi "Traceresponse" | awk '{print $2}' | cut -d '-' -f 2)

if [ -n "$TRACE_ID" ]; then
echo "TRACE_ID is not empty: $TRACE_ID"
else
echo "TRACE_ID is empty"
exit 1
fi

JAEGER_QUERY_URL="http://localhost:16686"
EXPECTED_SPANS=10
EXPECTED_SPANS=35
MAX_RETRIES=30
SLEEP_INTERVAL=10

Expand Down

0 comments on commit 6b62341

Please sign in to comment.