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

[Geoip+ci] Fix flaky release check in ci #36118

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

nezdolik
Copy link
Member

@nezdolik nezdolik commented Sep 13, 2024

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
Partially Fixes #35829
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: Kateryna Nezdolii <[email protected]>
@nezdolik
Copy link
Member Author

cc @phlax

@@ -116,6 +115,7 @@ class GeoipProviderTestBase {
Filesystem::Watcher::OnChangedCb cb) {
{
absl::WriterMutexLock lock(&mutex_);
on_changed_cbs_.reserve(1);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the flake that we should only be accessing on_change_cbs_ with the mutex?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, the tests were failing nondeterministically in somewhat random code paths before this fix (in release ci check)

@nezdolik nezdolik merged commit e1af5fa into envoyproxy:main Sep 13, 2024
39 checks passed
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.

geoip provider of maxmind flaky
2 participants