mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-26 00:06:02 +00:00
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:
1 parent
95aab3703f
commit
f9304f41c7
4 files changed
+39
No files matched your search
+1
@@ -0,0 +1 @@
|
||||
com.droiddeck.launcher.session.TestJvmUncaughtHandler
|
||||
Reference in new issue
Block a user