Merge "Fix test that did not know about pool stats"

This commit is contained in:
Edgar Arriaga García
2022-08-02 17:02:33 +00:00
committed by Android (Google) Code Review

View File

@@ -161,7 +161,7 @@ public class SQLiteOpenHelperTest {
boolean dbStatFound = false;
SQLiteDebug.PagerStats info = SQLiteDebug.getDatabaseInfo();
for (SQLiteDebug.DbStats dbStat : info.dbStats) {
if (dbStat.dbName.endsWith(dbName)) {
if (dbStat.dbName.endsWith(dbName) && !dbStat.arePoolStats) {
dbStatFound = true;
Log.i(TAG, "Lookaside for " + dbStat.dbName + " " + dbStat.lookaside);
if (expectDisabled) {