Skip to content

Conversation

@gaantunes
Copy link
Contributor

@gaantunes gaantunes commented Dec 16, 2025

PR Description

Fixing some flaky tests by:

Increasing the time threshold for eventually checks.
Adding Waitgroups for better routine handlling.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • Documentation added
  • Tests updated
  • Config converters updated

@gaantunes gaantunes requested a review from a team as a code owner December 16, 2025 18:11

require.Contains(t, logBuffer.String(), tc.errorLine)
}, 5*time.Second, 100*time.Millisecond)
}, 10*time.Second, 200*time.Millisecond)
Copy link
Contributor

@cristiangreco cristiangreco Dec 17, 2025

Choose a reason for hiding this comment

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

I forgot to mention that I went through these tests in #4991, changing the code around expectations on log lines to try to fix the flakyness - don't think we need to increase timeouts here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No need for this PR then?

Copy link
Contributor

@cristiangreco cristiangreco Jan 5, 2026

Choose a reason for hiding this comment

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

Probably not, I haven't seen other flaky occurrences. However I see you changed query_samples.go as well, and seems your update might fix a leak of the runSetupConsumersCheck goroutine? If so, maybe that specific change could be reviewed in a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants