Skip to content

Commit 6aa635c

Browse files
Next try
1 parent b04b926 commit 6aa635c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

firebase-firestore/src/test/java/com/google/firebase/firestore/local/SQLiteLocalStoreTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public void testDoesNotUseLimitWhenIndexIsOutdated() {
237237

238238
// The query engine first reads the documents by key and then re-runs the query without limit.
239239
assertRemoteDocumentsRead(/* byKey= */ 5, /* byCollection= */ 0);
240-
assertOverlaysRead(/* byKey= */ 5, /* byCollection= */ 0);
240+
assertOverlaysRead(/* byKey= */ 5, /* byCollection= */ 1);
241241
assertQueryReturned("coll/a", "coll/c");
242242
}
243243

firebase-firestore/src/test/java/com/google/firebase/firestore/local/SQLiteQueryEngineTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void testRefillsIndexedLimitQueries() throws Exception {
102102
indexManager.updateIndexEntries(docMap(doc1, doc2, doc3, doc4));
103103
indexManager.updateCollectionGroup("coll", IndexOffset.fromDocument(doc4));
104104

105-
addMutation(patchMutation("coll/4", map("a", 5)));
105+
addMutation(patchMutation("coll/3", map("a", 5)));
106106

107107
Query query = query("coll").orderBy(orderBy("a")).limitToFirst(3);
108108
DocumentSet result = expectOptimizedCollectionScan(() -> runQuery(query, SnapshotVersion.NONE));

0 commit comments

Comments
 (0)