File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/firestore/test/unit/local Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -942,8 +942,8 @@ function genericLruGarbageCollectorTests(
942
942
await initializeTestResources ( LruParams . withCacheSize ( 100 ) ) ;
943
943
expect ( persistence . started ) . to . be . true ;
944
944
945
- // Add 50 targets and 5 documents to each.
946
- for ( let i = 0 ; i < 50 ; i ++ ) {
945
+ // Add 20 targets and 5 documents to each.
946
+ for ( let i = 0 ; i < 20 ; i ++ ) {
947
947
// Use separate transactions so that each target and associated documents get their own
948
948
// sequence number.
949
949
await persistence . runTransaction (
@@ -986,8 +986,8 @@ function genericLruGarbageCollectorTests(
986
986
txn => garbageCollector . collect ( txn , { } )
987
987
) ;
988
988
expect ( results . didRun ) . to . be . true ;
989
- expect ( results . targetsRemoved ) . to . equal ( 5 ) ;
990
- expect ( results . documentsRemoved ) . to . equal ( 25 ) ;
989
+ expect ( results . targetsRemoved ) . to . equal ( 2 ) ;
990
+ expect ( results . documentsRemoved ) . to . equal ( 10 ) ;
991
991
992
992
// Verify that we updated the cache size by checking that it's smaller now.
993
993
const finalCacheSize = await persistence . runTransaction (
You can’t perform that action at this time.
0 commit comments