mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-18 12:49:59 -04:00
tests: ensure all database usages are properly closed
Leaving lots of DB connections open seems to make OpenJDK crash a lot, giving false fails for the CI tests.
This commit is contained in:
@@ -38,6 +38,7 @@ public class DatabaseMigration {
|
||||
Preferences.setupForTests(context);
|
||||
SQLiteOpenHelper opener = new MigrationRunningOpenHelper(context);
|
||||
opener.getReadableDatabase();
|
||||
opener.close();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user