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

Remove flaky MultiThreadedStartupScenario #2111

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Nov 28, 2024

Goal

Reduce end2end test flakes by removing the MultiThreadedStartupScenario. It unfortunately can't be made reliable, and will always be flaky.

Design

This test added a large amount of weight to the test suite without providing very much value - it was simply intended to test that a call to Bugsnag made while Bugsnag.start was still in progress will wait for start to complete rather than throw the usual "Bugsnag is not started" exception. However there isn't really a way to ensure that a secondary thread calls a method strictly after start has entered its lock, but before it has completed.

…be made reliable and no amount of retries will stop the flakes
@lemnik lemnik requested a review from twometresteve November 28, 2024 14:23
@bugsnagbot
Copy link
Collaborator

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1864.05 1675.79
arm64_v8a 643.33 450.82
armeabi_v7a 577.8 385.29
x86 717.04 528.62
x86_64 688.38 495.86

Generated by 🚫 Danger

@lemnik lemnik merged commit b6bfad1 into next Nov 28, 2024
34 checks passed
@lemnik lemnik deleted the PLAT-13074/remove-multithreaded-startup-test branch November 28, 2024 14:38
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.

3 participants