address review: join the controller scope, keep DB closes where nothing leaks

PlaybackController.now exposes awaitStopped() so the tests that own its DB can join its scope before db.close(); close() stays cancel-only so AppModuleTest (Main dispatcher) cannot deadlock. Restores db.close() in the tests that have no leaking scope, closes the SyncManager AddSourceViewModelTest was leaking, replaces the duplicated poll with the existing awaitCoverArt helper, and trims the testLogging block to the one line that does anything.
This commit is contained in:
austinried
2026-10-04 00:30:05 +00:00
parent 84df71771e
commit 1128af165d
15 changed files with 53 additions and 15 deletions
-4
View File
@@ -103,10 +103,6 @@ tasks.withType<Test>().configureEach {
}
testLogging {
exceptionFormat = TestExceptionFormat.FULL
events("failed")
showStackTraces = true
showExceptions = true
showCauses = true
}
}