Skip to content

Commit b6d4014

Browse files
committed
rebase
1 parent 9d1f055 commit b6d4014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public void testCombinesIndexedWithNonIndexedResults() throws Exception {
246246
TimeUnit.MILLISECONDS.convert(
247247
(beforeAutoEnd - beforeAutoStart), TimeUnit.NANOSECONDS);
248248
totalBeforeIndex += (beforeAutoEnd - beforeAutoStart);
249-
totalDocumentCount += counterWithoutIndex.getDocumentCount();
249+
totalDocumentCount += counterWithoutIndex.getDocumentReadCount();
250250
assertEquals(portion * totalSetCount, results.size());
251251

252252
QueryContext counterWithIndex = new QueryContext();
@@ -268,7 +268,7 @@ public void testCombinesIndexedWithNonIndexedResults() throws Exception {
268268
+ numOfFields
269269
+ " fields.\n"
270270
+ "Weight result for without auto indexing is "
271-
+ without * counterWithoutIndex.getDocumentCount()
271+
+ without * counterWithoutIndex.getDocumentReadCount()
272272
+ ". And weight result for auto indexing is "
273273
+ with * results.size());
274274
}

0 commit comments

Comments
 (0)