Skip to content
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

stops setting shared flag when extracting headers #535

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

codefromthecrypt
Copy link
Contributor

copious rationale in comment

Signed-off-by: Adrian Cole <adrian@tetrate.io>
assertThat(propagationType.get().extractor(getter).extract(invalidHeaders).context())
.isEqualTo(sharedTraceContext().build());
.isEqualTo(sampledTraceContext().build());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like actual and expected were meant to be plugged into the assertion but aren't.

@shakuzen
Copy link
Member

We should probably backport something for this to maintenance branches.

@marcingrzejszczak marcingrzejszczak added this to the 1.3.0-M1 milestone Jan 15, 2024
@marcingrzejszczak marcingrzejszczak added the bug A general bug label Jan 15, 2024
@marcingrzejszczak marcingrzejszczak merged commit 6e958f8 into micrometer-metrics:main Jan 15, 2024
5 checks passed
@codefromthecrypt codefromthecrypt deleted the unshare branch January 15, 2024 10:44
marcingrzejszczak pushed a commit that referenced this pull request Jan 15, 2024
Signed-off-by: Adrian Cole <adrian@tetrate.io>
@marcingrzejszczak
Copy link
Contributor

Merged and cherry-picked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants