Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[TEST] Fix failing W3C Trace Context compliance tests #3115
base: main
Are you sure you want to change the base?
[TEST] Fix failing W3C Trace Context compliance tests #3115
Changes from 27 commits
111f234
e73c58b
c4816de
3696baf
b1d0623
b0732da
9fcef5b
cc31fbb
6374424
a756114
b856c55
66599ce
b460bd4
75aa431
0b0ef58
ffab2ee
e7cfb9a
06283f7
5d1d476
22b8eb1
175df2e
e2c2805
444abe6
975ac71
a90c053
1785610
a4c121a
8dbf8e5
ebaaaf3
35e6ec0
bb5f91a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Is
PROTOBUF_VERSION
needed here?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.
Ah, I copied the steps from an existing job and edited it, so this was probably left over. I doubt it's required. I can try to remove it and see if CI still works.
It should, I think.
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.
Is the tailing
&
for running the test in background? If so, is it needed?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.
It is starting the test web server, so required in background. But in general good to invoke such services under
nohup
instead of '&', so that it doesn't corrupt the CI terminal output.ps - just fyi, not action required for my comment.
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.
Yes, I also just read that in the w3c_tracecontext_test, probably better to imply that is is test server in the file name:)
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.
@ThomsonTan, just to confirm you're suggesting to change the name of the build output file
w3c_tracecontext_test
→w3_tracecontext_test_server
?I could do that, but I feel that line 943 conveys that this is a test server running in background ?
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.
[TEST] may mean it only affects test code, but this fixes W3C trace context API?
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.
Yes, I wasn't quite sure about this. This PR touches a lot of aspects, minor API changes, TEST changes and CI updates.
I put [TEST] since the PR was geared toward fixing the failing W3C Trace Context tests.
I'm open to updating it, but not sure what should go here instead.
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.
nit,
make -j $(nproc)
to utilize all available cores to build.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.
$MAKE_COMMAND should expand to
I am not quite sure about what
\
before $(nproc) does, but I imagine it would utilize all cores ?