[Crashlyics] Address some Crashlytics flakes and disable others in nightly tests#15567
[Crashlyics] Address some Crashlytics flakes and disable others in nightly tests#15567
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. |
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request aims to stabilize Crashlytics unit tests by fixing some flaky tests and disabling others in nightly runs. The changes include better test setup/teardown hygiene, making the mock file manager thread-safe, and introducing a mechanism to disable a flaky test during nightly builds. My review focuses on improving the implementation of one of the flake fixes and reducing code duplication in the package manifest.
|
/gemini summarize |
|
Closing in favor of #15601. Thank you! |
This PR should stabilize the Crashlytics unit tests after asking gemini to find and address several flaky tests. This PR doesn't touch the library itself other than exposing an additional property to the tests.
It also disables the flaky FIRCLSSettingsTests.m in nightly test runs.
This is a fresh start on #15551 which went too far with adding unnecessary churn and disabling some functionality.
This is an example of the common flake that will be suppressed in the nightly tests:
#no-changelog
Gemini's summary:
Summary of Changes
This pull request focuses on enhancing the stability and reliability of the Crashlytics unit test suite. It implements targeted fixes for existing flaky tests, such as improving file system interactions and cleanup procedures. Additionally, it introduces a configurable exclusion for certain flaky tests during nightly builds, aiming to prevent intermittent failures in automated pipelines. The changes also include minor refactoring to improve test code maintainability and thread safety in mock objects.
Highlights
Changelog