-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rd 7813 go tracer flaky unit test testlambdahandlere2elocal ctxhttp tra #29
base: master
Are you sure you want to change the base?
Rd 7813 go tracer flaky unit test testlambdahandlere2elocal ctxhttp tra #29
Conversation
…dahandlere2elocal-ctxhttp-tra
Codecov Report
@@ Coverage Diff @@
## master #29 +/- ##
==========================================
- Coverage 74.05% 72.19% -1.86%
==========================================
Files 7 7
Lines 424 446 +22
==========================================
+ Hits 314 322 +8
- Misses 64 73 +9
- Partials 46 51 +5
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.
Nice! :)
Notice that there is a decrease of the coverage, maybe there is a missing test.
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.
Nice! :)
assert.NoError(e.T(), err) | ||
assert.Equal(e.T(), 4, len(spans.endFileSpans)) | ||
assert.NoError(e.T(), deleteAllFiles()) | ||
cfg.MaxSizeForRequest = oldConfig |
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.
Can you move it to afterEach
or beforeEach
?
wrapper.go
Outdated
//Format details | ||
func (s *LogFormatter) Format(entry *log.Entry) ([]byte, error) { | ||
timestamp := time.Now().Local().Format("2006-01-02 15:04:05") | ||
msg := fmt.Sprintf("#LUMIGO#-%s-%s-message:%s ", timestamp, strings.ToUpper(entry.Level.String()), entry.Message) |
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.
Are you sure that it keeps the previous format? Can you send me an image of an example of the new log?
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.
#LUMIGO# 2022-04-14 16:27:22-ERROR message:unable to fetch Amazon Trace ID
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.
No description provided.