Skip to content
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

[chore] Fix flaky logstransformprocessor test #21530

Closed

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented May 6, 2023

Fixes #9761

time.Sleep(200 * time.Millisecond)
logs := tln.AllLogs()
require.Len(t, logs, 1)
assert.NoError(t, plogtest.CompareLogs(wantLogData, logs[0]))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like #9761 fails in this line due to receiving a wrong log record. So I'm not sure this fix will help

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh ok good point. Looking.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't figure it out. Closing.

@atoulme atoulme force-pushed the flaky_logstransformprocessor branch from 035ac05 to 15ed5a8 Compare May 7, 2023 06:42
@atoulme atoulme closed this May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/logstransform Logs Transform processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[processor/logstransform] Flaky test - TestLogsTransformProcessor/simpleTest
3 participants