Skip to content

Commit 311c002

Browse files
committed
match the design
1 parent f4c0574 commit 311c002

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
@@ -224,7 +224,7 @@ private void createMutationForCollection(String basePath, int totalSetCount) {
224224
@Test
225225
public void testCombinesIndexedWithNonIndexedResults() throws Exception {
226226
// Every set contains 10 documents
227-
final int numOfSet = 10;
227+
final int numOfSet = 100;
228228
// could overflow. Currently it is safe when numOfSet set to 1000 and running on macbook M1
229229
long totalBeforeIndex = 0;
230230
long totalAfterIndex = 0;
@@ -235,7 +235,7 @@ public void testCombinesIndexedWithNonIndexedResults() throws Exception {
235235
double without = 1;
236236
double with = 3;
237237

238-
for (int totalSetCount = 1; totalSetCount <= numOfSet; totalSetCount *= 10) {
238+
for (int totalSetCount = 10; totalSetCount <= numOfSet; totalSetCount *= 10) {
239239
// portion stands for the percentage of documents matching query
240240
for (int portion = 0; portion <= 10; portion++) {
241241
for (int numOfFields = 1; numOfFields <= 31; numOfFields += 10) {

0 commit comments

Comments
 (0)