-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Copy spans from memory store, fixes #2719 #2720
Conversation
c6014e9
to
59ef162
Compare
Codecov Report
@@ Coverage Diff @@
## master #2720 +/- ##
==========================================
+ Coverage 95.73% 95.74% +0.01%
==========================================
Files 216 216
Lines 9593 9599 +6
==========================================
+ Hits 9184 9191 +7
Misses 336 336
+ Partials 73 72 -1
Continue to review full report at Codecov.
|
59ef162
to
7b980eb
Compare
Copying allows spans to be freely modified by adjusters and any other code without accidentally altering what is stored in the in-memory store itself. Signed-off-by: Ivan Babrou <github@ivan.computer>
7b980eb
to
f38fe25
Compare
any way to raise the test coverage? It's probably red in the new error handling places. |
Any suggestions on how to approach this? I can't figure out how to trick |
The following results in an error:
|
Signed-off-by: Ivan Babrou <github@ivan.computer>
b5f2a57
to
cfb05ac
Compare
Pull request has been modified.
Added a commit with two more tests to test this scenario, thanks! |
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.
Thanks!
…usters (jaegertracing#2720) * Copy spans from memory store, fixes jaegertracing#2719 Copying allows spans to be freely modified by adjusters and any other code without accidentally altering what is stored in the in-memory store itself. Signed-off-by: Ivan Babrou <github@ivan.computer> * Add tests to exercise the broken serialization path Signed-off-by: Ivan Babrou <github@ivan.computer>
Copying allows spans to be freely modified by adjusters and any other code without accidentally altering what is stored in the in-memory store itself. Resolves #2719.