fix(ci): remove the three main unit test flakes (#3117)

* fix(test): ProtonMenuAutoTest no longer fetches Proton releases from GitHub

aCachedCheckUpdatesOnlyInstalledFamiliesAndReplacesOlderDroidDeckProton left experimentalRefresh at its default, which downloads the release list with 10 s connect and 15 s read timeouts, so a slow or rate-limited network blew the test's 5 s wait.

* fix(test): a background-thread error no longer halts the unit test JVM

Every Robolectric test runs App.onCreate, which chains CrashHandler onto the default uncaught-exception handler. A plain JVM has none, so the first test's handler halts with exit 2 on any later uncaught error, and the chain grows by one layer per test. A Robolectric lifecycle plugin now resets the default handler to a printing one before each test.
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-23 22:09:28 -05:00
1 parent 95aab3703f
commit f9304f41c7
4 files changed
+39

No files matched your search

@@ -0,0 +1 @@
com.droiddeck.launcher.session.TestJvmUncaughtHandler