-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(scripts-tracecontext-integration-test.sh): fixed issue #4105 #4109
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#!/bin/sh | ||
set -e | ||
set -e | ||
# hard-coding the git tag to ensure stable builds. | ||
TRACECONTEXT_GIT_TAG="98f210efd89c63593dce90e2bae0a1bdcb986f51" | ||
TRACECONTEXT_GIT_TAG="e99a85d12df8c25c51ec1d5d234f20e918265b75" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think won't be so to easy to point to the lastest :) There's a failing test
|
||
# clone w3c tracecontext tests | ||
mkdir -p target | ||
rm -rf ./target/trace-context | ||
git clone https://github.com/w3c/trace-context ./target/trace-context | ||
cd ./target/trace-context && git checkout $TRACECONTEXT_GIT_TAG && cd - | ||
# start example opentelemetry service, which propagates trace-context by | ||
# start example opentelemetry service, which propagates trace-context by | ||
# default. | ||
python ./tests/w3c_tracecontext_validation_server.py 1>&2 & | ||
EXAMPLE_SERVER_PID=$! | ||
# give the app server a little time to start up. Not adding some sort | ||
# of delay would cause many of the tracecontext tests to fail being | ||
# unable to connect. | ||
sleep 1 | ||
onshutdown() | ||
onshutdown() | ||
{ | ||
# send a sigint, to ensure | ||
# it is caught as a KeyboardInterrupt in the | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should move this to the "# Unreleased" section at the beginning of the CHANGELOG.md file