Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove debugging artifacts
Browse files Browse the repository at this point in the history
dgoffredo committed Mar 9, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8fa61da commit 94bac9e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions test/integration/nginx/nginx_integration_test.sh
Original file line number Diff line number Diff line change
@@ -5,6 +5,9 @@
# * Java, Golang
# Run this test from the Docker container or CircleCI.

# Disable tracer startup logs (these tests consider any nginx output an error).
export DD_TRACE_STARTUP_LOGS=false

NGINX_CONF_PATH=$(nginx -V 2>&1 | grep "configure arguments" | sed -n 's/.*--conf-path=\([^ ]*\).*/\1/p')
NGINX_CONF=$(cat ${NGINX_CONF_PATH})
TRACER_CONF_PATH=/etc/dd-config.json
@@ -125,15 +128,13 @@ then
cat ${NGINX_ERROR_LOG}
echo ""
exit 1
# TODO: jeez...
elif [ "$(cat ${NGINX_ERROR_LOG})" != "" ]
then
echo "Other errors in nginx log file:"
cat ${NGINX_ERROR_LOG}
echo ""
exit 1
fi
# elif [ "$(cat ${NGINX_ERROR_LOG})" != "" ]
# then
# echo "Other errors in nginx log file:"
# cat ${NGINX_ERROR_LOG}
# echo ""
# exit 1
# fi

reset_test
echo "Test 4: Check that priority sampling works."

0 comments on commit 94bac9e

Please sign in to comment.