Merge "Fix test that did not know about pool stats"
This commit is contained in:
committed by
Android (Google) Code Review
commit
a54c22eda3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user