Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39cc587b authored by Lee Shombert's avatar Lee Shombert Committed by Android (Google) Code Review
Browse files

Merge "Correct a SQLite unit test" into main

parents a14da088 646568df
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -255,6 +255,7 @@ public class SQLiteDatabaseTest {

        final String query = "--comment\nSELECT count(*) from t1";

        database.beginTransactionReadOnly();
        try {
            for (int i = count; i > 0; i--) {
                ticker.arriveAndAwaitAdvance();
@@ -268,6 +269,7 @@ public class SQLiteDatabaseTest {
        } catch (Throwable t) {
            errors.add(t);
        } finally {
            database.endTransaction();
            ticker.arriveAndDeregister();
        }
    }