-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
libbeat fmtstr tests fail outside of UTC #28472
Labels
flaky-test
Unstable or unreliable test cases.
Team:Elastic-Agent-Data-Plane
Label for the Agent Data Plane team
Comments
botelastic
bot
added
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Oct 15, 2021
hinchliff
pushed a commit
to hinchliff/beats
that referenced
this issue
Oct 15, 2021
…ad of time.Local
6 tasks
andresrc
added
the
Team:Elastic-Agent-Data-Plane
Label for the Agent Data Plane team
label
Oct 21, 2021
botelastic
bot
removed
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Oct 21, 2021
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
kvch
pushed a commit
that referenced
this issue
Nov 30, 2021
elasticmachine
pushed a commit
to nxei/beats
that referenced
this issue
Dec 1, 2021
* upstream/master: [libbeat] Fix add_labels flattening of arrays values (elastic#29211) Change elastic-agent pprof default to false (elastic#29155) elastic#28472 fix flaky tests in libbeat fmtstr to use time.UTC instead of time.Local (elastic#28473) Adopt `parsers` in Filebeat's journald input (elastic#29070) [Elastic Agent] Add process error handling guidelines (elastic#29152) winlogbeat/sys/winevent: use reflect IsZero method (elastic#29190) Remove Journalbeat (elastic#29131) Add note that there is no warranty or support for generator code (elastic#28797) packetbeat: preparation for npcap addition (elastic#29017) Use the generic helper for opening file to read in filestream (elastic#29180) Workflow for macos (elastic#29174) Fix `decode_json_fields` processor to always add error key (elastic#29107)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
flaky-test
Unstable or unreliable test cases.
Team:Elastic-Agent-Data-Plane
Label for the Agent Data Plane team
Flaky Test
beats/libbeat/common/fmtstr/formatevents_test.go
Lines 108 to 131 in b3991d4
beats/libbeat/common/fmtstr/formattimestamp_test.go
Lines 72 to 85 in b3991d4
time.Local
, which produces inconsistent results based on the local timezone used by e.g. the developer. If my understanding of the purpose of the test cases is correct, then usingtime.UTC
should resolve any potential inconsistencies.Stack Trace
See Also
https://discuss.elastic.co/t/test-suite-error-time-local-vs-time-utc/286735
The text was updated successfully, but these errors were encountered: