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
Upgrade to OpenTracing Go 1.2 #525
Conversation
yurishkuro
commented
Jul 31, 2020
•
edited
edited
- Resolves Go 1.15: TestThriftSpanLogs errors #524
- Upgrades opentracing-go dependency to 1.2 (https://github.com/opentracing/opentracing-go/releases/tag/v1.2.0)
- Pin some Prometheus client libs in glide.yaml because some of their dependencies moved to go modules with v2, which is not supported by glide.
Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Yuri Shkuro <ys@uber.com>
version: ^1 | ||
version: 1.1 | ||
- package: github.com/prometheus/procfs | ||
version: 0.0.6 |
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.
Newer versions of Prom client have dependencies on libraries using go modules with v2, which does not work with glide. Since this is legacy anyway, I am pinning to the current versions (unfortunately glide doesn't allow updating a single dep).
@@ -403,7 +403,8 @@ func compareTags(t *testing.T, expected, actual *j.Tag, testName string) { | |||
return | |||
} | |||
if expected == nil || actual == nil { | |||
assert.Fail(t, "one of the tags is nil", testName) | |||
t.Logf("one of the tags is nil, test=%s, expected=%v, actual=%v", testName, expected, actual) |
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.
the way assert.Fail prints the message was not helpful, so adding explicit log
Codecov Report
@@ Coverage Diff @@
## master #525 +/- ##
==========================================
- Coverage 89.28% 89.23% -0.06%
==========================================
Files 61 61
Lines 3919 3919
==========================================
- Hits 3499 3497 -2
- Misses 294 295 +1
- Partials 126 127 +1
Continue to review full report at Codecov.
|
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: description could contain opentracing release notes