-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix: flaky FIRCLSSettingsTests.m #15623
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
Conversation
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. |
paulb777
left a comment
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.
This might be a still existing, but rarer flake - https://github.com/firebase/firebase-ios-sdk/actions/runs/20387547915/job/58591201190
@paulb777, I haven't looked into that one yet, but yes– it does appear to be rarer. |
Formalizing a follow-up to #15601, now that it is more convincing from the nightlies that the
dispatch_asyncis the cuprit to theFIRCLSSettingsTestsflakes.Using the same approach as in #15608. It's possible that the race condition is playing out within single test as opposed to across test cases. In that case, we'll need to drain the queue or add a waiter within each affected test case.Update: Because the SDK dispatches to the global concurrent background queue, there is not a way to reliably "drain" that queue and it appears that the background queue's work may not finish in a reasonable time when running in the CI environment. So, a queue with a higher priority is injected into the class for more reliable testing.
I did three rounds of testing, checking for the
FIRCLSSettingsTestflakes. None reported.#no-changelog