-
Notifications
You must be signed in to change notification settings - Fork 289
Conversation
yurishkuro
commented
Jul 31, 2020
•
edited
Loading
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 <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
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