garbage_collection_spec_test.json 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108
  1. {
  2. "Contents of active query are kept while inactive results are removed after GC": {
  3. "describeName": "Garbage Collection:",
  4. "itName": "Contents of active query are kept while inactive results are removed after GC",
  5. "tags": [
  6. ],
  7. "config": {
  8. "numClients": 1,
  9. "useEagerGCForMemory": false
  10. },
  11. "steps": [
  12. {
  13. "userListen": {
  14. "query": {
  15. "filters": [
  16. ],
  17. "orderBys": [
  18. ],
  19. "path": "collection"
  20. },
  21. "targetId": 2
  22. },
  23. "expectedState": {
  24. "activeTargets": {
  25. "2": {
  26. "queries": [
  27. {
  28. "filters": [
  29. ],
  30. "orderBys": [
  31. ],
  32. "path": "collection"
  33. }
  34. ],
  35. "resumeToken": ""
  36. }
  37. }
  38. }
  39. },
  40. {
  41. "watchAck": [
  42. 2
  43. ]
  44. },
  45. {
  46. "watchEntity": {
  47. "docs": [
  48. {
  49. "createTime": 0,
  50. "key": "collection/a",
  51. "options": {
  52. "hasCommittedMutations": false,
  53. "hasLocalMutations": false
  54. },
  55. "value": {
  56. "key": "a"
  57. },
  58. "version": 1000
  59. },
  60. {
  61. "createTime": 0,
  62. "key": "collection/b",
  63. "options": {
  64. "hasCommittedMutations": false,
  65. "hasLocalMutations": false
  66. },
  67. "value": {
  68. "key": "b"
  69. },
  70. "version": 1000
  71. },
  72. {
  73. "createTime": 0,
  74. "key": "collection/c",
  75. "options": {
  76. "hasCommittedMutations": false,
  77. "hasLocalMutations": false
  78. },
  79. "value": {
  80. "key": "c"
  81. },
  82. "version": 1000
  83. },
  84. {
  85. "createTime": 0,
  86. "key": "collection/d",
  87. "options": {
  88. "hasCommittedMutations": false,
  89. "hasLocalMutations": false
  90. },
  91. "value": {
  92. "key": "d"
  93. },
  94. "version": 1000
  95. }
  96. ],
  97. "targets": [
  98. 2
  99. ]
  100. }
  101. },
  102. {
  103. "watchCurrent": [
  104. [
  105. 2
  106. ],
  107. "resume-token-1000"
  108. ]
  109. },
  110. {
  111. "watchSnapshot": {
  112. "targetIds": [
  113. ],
  114. "version": 1000
  115. },
  116. "expectedSnapshotEvents": [
  117. {
  118. "added": [
  119. {
  120. "createTime": 0,
  121. "key": "collection/a",
  122. "options": {
  123. "hasCommittedMutations": false,
  124. "hasLocalMutations": false
  125. },
  126. "value": {
  127. "key": "a"
  128. },
  129. "version": 1000
  130. },
  131. {
  132. "createTime": 0,
  133. "key": "collection/b",
  134. "options": {
  135. "hasCommittedMutations": false,
  136. "hasLocalMutations": false
  137. },
  138. "value": {
  139. "key": "b"
  140. },
  141. "version": 1000
  142. },
  143. {
  144. "createTime": 0,
  145. "key": "collection/c",
  146. "options": {
  147. "hasCommittedMutations": false,
  148. "hasLocalMutations": false
  149. },
  150. "value": {
  151. "key": "c"
  152. },
  153. "version": 1000
  154. },
  155. {
  156. "createTime": 0,
  157. "key": "collection/d",
  158. "options": {
  159. "hasCommittedMutations": false,
  160. "hasLocalMutations": false
  161. },
  162. "value": {
  163. "key": "d"
  164. },
  165. "version": 1000
  166. }
  167. ],
  168. "errorCode": 0,
  169. "fromCache": false,
  170. "hasPendingWrites": false,
  171. "query": {
  172. "filters": [
  173. ],
  174. "orderBys": [
  175. ],
  176. "path": "collection"
  177. }
  178. }
  179. ]
  180. },
  181. {
  182. "userUnlisten": [
  183. 2,
  184. {
  185. "filters": [
  186. ],
  187. "orderBys": [
  188. ],
  189. "path": "collection"
  190. }
  191. ],
  192. "expectedState": {
  193. "activeTargets": {
  194. }
  195. }
  196. },
  197. {
  198. "userListen": {
  199. "query": {
  200. "filters": [
  201. [
  202. "key",
  203. "==",
  204. "a"
  205. ]
  206. ],
  207. "orderBys": [
  208. ],
  209. "path": "collection"
  210. },
  211. "targetId": 4
  212. },
  213. "expectedSnapshotEvents": [
  214. {
  215. "added": [
  216. {
  217. "createTime": 0,
  218. "key": "collection/a",
  219. "options": {
  220. "hasCommittedMutations": false,
  221. "hasLocalMutations": false
  222. },
  223. "value": {
  224. "key": "a"
  225. },
  226. "version": 1000
  227. }
  228. ],
  229. "errorCode": 0,
  230. "fromCache": true,
  231. "hasPendingWrites": false,
  232. "query": {
  233. "filters": [
  234. [
  235. "key",
  236. "==",
  237. "a"
  238. ]
  239. ],
  240. "orderBys": [
  241. ],
  242. "path": "collection"
  243. }
  244. }
  245. ],
  246. "expectedState": {
  247. "activeTargets": {
  248. "4": {
  249. "queries": [
  250. {
  251. "filters": [
  252. [
  253. "key",
  254. "==",
  255. "a"
  256. ]
  257. ],
  258. "orderBys": [
  259. ],
  260. "path": "collection"
  261. }
  262. ],
  263. "resumeToken": ""
  264. }
  265. }
  266. }
  267. },
  268. {
  269. "watchAck": [
  270. 4
  271. ]
  272. },
  273. {
  274. "watchEntity": {
  275. "docs": [
  276. {
  277. "createTime": 0,
  278. "key": "collection/a",
  279. "options": {
  280. "hasCommittedMutations": false,
  281. "hasLocalMutations": false
  282. },
  283. "value": {
  284. "key": "a"
  285. },
  286. "version": 1000
  287. }
  288. ],
  289. "targets": [
  290. 4
  291. ]
  292. }
  293. },
  294. {
  295. "watchCurrent": [
  296. [
  297. 4
  298. ],
  299. "resume-token-1500"
  300. ]
  301. },
  302. {
  303. "watchSnapshot": {
  304. "targetIds": [
  305. ],
  306. "version": 1500
  307. },
  308. "expectedSnapshotEvents": [
  309. {
  310. "errorCode": 0,
  311. "fromCache": false,
  312. "hasPendingWrites": false,
  313. "query": {
  314. "filters": [
  315. [
  316. "key",
  317. "==",
  318. "a"
  319. ]
  320. ],
  321. "orderBys": [
  322. ],
  323. "path": "collection"
  324. }
  325. }
  326. ]
  327. },
  328. {
  329. "userSet": [
  330. "collection/c",
  331. {
  332. "extra": "extra",
  333. "key": "c"
  334. }
  335. ]
  336. },
  337. {
  338. "triggerLruGC": 1
  339. },
  340. {
  341. "userUnlisten": [
  342. 4,
  343. {
  344. "filters": [
  345. [
  346. "key",
  347. "==",
  348. "a"
  349. ]
  350. ],
  351. "orderBys": [
  352. ],
  353. "path": "collection"
  354. }
  355. ],
  356. "expectedState": {
  357. "activeTargets": {
  358. }
  359. }
  360. },
  361. {
  362. "userListen": {
  363. "query": {
  364. "filters": [
  365. ],
  366. "orderBys": [
  367. ],
  368. "path": "collection"
  369. },
  370. "targetId": 6
  371. },
  372. "expectedSnapshotEvents": [
  373. {
  374. "added": [
  375. {
  376. "createTime": 0,
  377. "key": "collection/a",
  378. "options": {
  379. "hasCommittedMutations": false,
  380. "hasLocalMutations": false
  381. },
  382. "value": {
  383. "key": "a"
  384. },
  385. "version": 1000
  386. },
  387. {
  388. "createTime": 0,
  389. "key": "collection/c",
  390. "options": {
  391. "hasCommittedMutations": false,
  392. "hasLocalMutations": true
  393. },
  394. "value": {
  395. "extra": "extra",
  396. "key": "c"
  397. },
  398. "version": 0
  399. }
  400. ],
  401. "errorCode": 0,
  402. "fromCache": true,
  403. "hasPendingWrites": true,
  404. "query": {
  405. "filters": [
  406. ],
  407. "orderBys": [
  408. ],
  409. "path": "collection"
  410. }
  411. }
  412. ],
  413. "expectedState": {
  414. "activeTargets": {
  415. "6": {
  416. "queries": [
  417. {
  418. "filters": [
  419. ],
  420. "orderBys": [
  421. ],
  422. "path": "collection"
  423. }
  424. ],
  425. "resumeToken": ""
  426. }
  427. }
  428. }
  429. }
  430. ]
  431. },
  432. "Contents of query are cleared when listen is removed.": {
  433. "comment": "Explicitly tests eager GC behavior",
  434. "describeName": "Garbage Collection:",
  435. "itName": "Contents of query are cleared when listen is removed.",
  436. "tags": [
  437. "eager-gc"
  438. ],
  439. "config": {
  440. "numClients": 1,
  441. "useEagerGCForMemory": true
  442. },
  443. "steps": [
  444. {
  445. "userListen": {
  446. "query": {
  447. "filters": [
  448. ],
  449. "orderBys": [
  450. ],
  451. "path": "collection"
  452. },
  453. "targetId": 2
  454. },
  455. "expectedState": {
  456. "activeTargets": {
  457. "2": {
  458. "queries": [
  459. {
  460. "filters": [
  461. ],
  462. "orderBys": [
  463. ],
  464. "path": "collection"
  465. }
  466. ],
  467. "resumeToken": ""
  468. }
  469. }
  470. }
  471. },
  472. {
  473. "watchAck": [
  474. 2
  475. ]
  476. },
  477. {
  478. "watchEntity": {
  479. "docs": [
  480. {
  481. "createTime": 0,
  482. "key": "collection/a",
  483. "options": {
  484. "hasCommittedMutations": false,
  485. "hasLocalMutations": false
  486. },
  487. "value": {
  488. "key": "a"
  489. },
  490. "version": 1000
  491. }
  492. ],
  493. "targets": [
  494. 2
  495. ]
  496. }
  497. },
  498. {
  499. "watchCurrent": [
  500. [
  501. 2
  502. ],
  503. "resume-token-1000"
  504. ]
  505. },
  506. {
  507. "watchSnapshot": {
  508. "targetIds": [
  509. ],
  510. "version": 1000
  511. },
  512. "expectedSnapshotEvents": [
  513. {
  514. "added": [
  515. {
  516. "createTime": 0,
  517. "key": "collection/a",
  518. "options": {
  519. "hasCommittedMutations": false,
  520. "hasLocalMutations": false
  521. },
  522. "value": {
  523. "key": "a"
  524. },
  525. "version": 1000
  526. }
  527. ],
  528. "errorCode": 0,
  529. "fromCache": false,
  530. "hasPendingWrites": false,
  531. "query": {
  532. "filters": [
  533. ],
  534. "orderBys": [
  535. ],
  536. "path": "collection"
  537. }
  538. }
  539. ]
  540. },
  541. {
  542. "userUnlisten": [
  543. 2,
  544. {
  545. "filters": [
  546. ],
  547. "orderBys": [
  548. ],
  549. "path": "collection"
  550. }
  551. ],
  552. "expectedState": {
  553. "activeTargets": {
  554. }
  555. }
  556. },
  557. {
  558. "userListen": {
  559. "query": {
  560. "filters": [
  561. ],
  562. "orderBys": [
  563. ],
  564. "path": "collection"
  565. },
  566. "targetId": 4
  567. },
  568. "expectedState": {
  569. "activeTargets": {
  570. "4": {
  571. "queries": [
  572. {
  573. "filters": [
  574. ],
  575. "orderBys": [
  576. ],
  577. "path": "collection"
  578. }
  579. ],
  580. "resumeToken": ""
  581. }
  582. }
  583. }
  584. }
  585. ]
  586. },
  587. "Contents of query are kept after listen is removed, and GC threshold is not reached": {
  588. "describeName": "Garbage Collection:",
  589. "itName": "Contents of query are kept after listen is removed, and GC threshold is not reached",
  590. "tags": [
  591. ],
  592. "config": {
  593. "numClients": 1,
  594. "useEagerGCForMemory": false
  595. },
  596. "steps": [
  597. {
  598. "userListen": {
  599. "query": {
  600. "filters": [
  601. ],
  602. "orderBys": [
  603. ],
  604. "path": "collection"
  605. },
  606. "targetId": 2
  607. },
  608. "expectedState": {
  609. "activeTargets": {
  610. "2": {
  611. "queries": [
  612. {
  613. "filters": [
  614. ],
  615. "orderBys": [
  616. ],
  617. "path": "collection"
  618. }
  619. ],
  620. "resumeToken": ""
  621. }
  622. }
  623. }
  624. },
  625. {
  626. "watchAck": [
  627. 2
  628. ]
  629. },
  630. {
  631. "watchEntity": {
  632. "docs": [
  633. {
  634. "createTime": 0,
  635. "key": "collection/a",
  636. "options": {
  637. "hasCommittedMutations": false,
  638. "hasLocalMutations": false
  639. },
  640. "value": {
  641. "key": "a"
  642. },
  643. "version": 1000
  644. }
  645. ],
  646. "targets": [
  647. 2
  648. ]
  649. }
  650. },
  651. {
  652. "watchCurrent": [
  653. [
  654. 2
  655. ],
  656. "resume-token-1000"
  657. ]
  658. },
  659. {
  660. "watchSnapshot": {
  661. "targetIds": [
  662. ],
  663. "version": 1000
  664. },
  665. "expectedSnapshotEvents": [
  666. {
  667. "added": [
  668. {
  669. "createTime": 0,
  670. "key": "collection/a",
  671. "options": {
  672. "hasCommittedMutations": false,
  673. "hasLocalMutations": false
  674. },
  675. "value": {
  676. "key": "a"
  677. },
  678. "version": 1000
  679. }
  680. ],
  681. "errorCode": 0,
  682. "fromCache": false,
  683. "hasPendingWrites": false,
  684. "query": {
  685. "filters": [
  686. ],
  687. "orderBys": [
  688. ],
  689. "path": "collection"
  690. }
  691. }
  692. ]
  693. },
  694. {
  695. "userUnlisten": [
  696. 2,
  697. {
  698. "filters": [
  699. ],
  700. "orderBys": [
  701. ],
  702. "path": "collection"
  703. }
  704. ],
  705. "expectedState": {
  706. "activeTargets": {
  707. }
  708. }
  709. },
  710. {
  711. "triggerLruGC": 1000000000
  712. },
  713. {
  714. "userListen": {
  715. "query": {
  716. "filters": [
  717. ],
  718. "orderBys": [
  719. ],
  720. "path": "collection"
  721. },
  722. "targetId": 2
  723. },
  724. "expectedSnapshotEvents": [
  725. {
  726. "added": [
  727. {
  728. "createTime": 0,
  729. "key": "collection/a",
  730. "options": {
  731. "hasCommittedMutations": false,
  732. "hasLocalMutations": false
  733. },
  734. "value": {
  735. "key": "a"
  736. },
  737. "version": 1000
  738. }
  739. ],
  740. "errorCode": 0,
  741. "fromCache": true,
  742. "hasPendingWrites": false,
  743. "query": {
  744. "filters": [
  745. ],
  746. "orderBys": [
  747. ],
  748. "path": "collection"
  749. }
  750. }
  751. ],
  752. "expectedState": {
  753. "activeTargets": {
  754. "2": {
  755. "queries": [
  756. {
  757. "filters": [
  758. ],
  759. "orderBys": [
  760. ],
  761. "path": "collection"
  762. }
  763. ],
  764. "resumeToken": "resume-token-1000"
  765. }
  766. }
  767. }
  768. }
  769. ]
  770. },
  771. "Contents of query are kept after listen is removed.": {
  772. "describeName": "Garbage Collection:",
  773. "itName": "Contents of query are kept after listen is removed.",
  774. "tags": [
  775. ],
  776. "config": {
  777. "numClients": 1,
  778. "useEagerGCForMemory": false
  779. },
  780. "steps": [
  781. {
  782. "userListen": {
  783. "query": {
  784. "filters": [
  785. ],
  786. "orderBys": [
  787. ],
  788. "path": "collection"
  789. },
  790. "targetId": 2
  791. },
  792. "expectedState": {
  793. "activeTargets": {
  794. "2": {
  795. "queries": [
  796. {
  797. "filters": [
  798. ],
  799. "orderBys": [
  800. ],
  801. "path": "collection"
  802. }
  803. ],
  804. "resumeToken": ""
  805. }
  806. }
  807. }
  808. },
  809. {
  810. "watchAck": [
  811. 2
  812. ]
  813. },
  814. {
  815. "watchEntity": {
  816. "docs": [
  817. {
  818. "createTime": 0,
  819. "key": "collection/a",
  820. "options": {
  821. "hasCommittedMutations": false,
  822. "hasLocalMutations": false
  823. },
  824. "value": {
  825. "key": "a"
  826. },
  827. "version": 1000
  828. }
  829. ],
  830. "targets": [
  831. 2
  832. ]
  833. }
  834. },
  835. {
  836. "watchCurrent": [
  837. [
  838. 2
  839. ],
  840. "resume-token-1000"
  841. ]
  842. },
  843. {
  844. "watchSnapshot": {
  845. "targetIds": [
  846. ],
  847. "version": 1000
  848. },
  849. "expectedSnapshotEvents": [
  850. {
  851. "added": [
  852. {
  853. "createTime": 0,
  854. "key": "collection/a",
  855. "options": {
  856. "hasCommittedMutations": false,
  857. "hasLocalMutations": false
  858. },
  859. "value": {
  860. "key": "a"
  861. },
  862. "version": 1000
  863. }
  864. ],
  865. "errorCode": 0,
  866. "fromCache": false,
  867. "hasPendingWrites": false,
  868. "query": {
  869. "filters": [
  870. ],
  871. "orderBys": [
  872. ],
  873. "path": "collection"
  874. }
  875. }
  876. ]
  877. },
  878. {
  879. "userUnlisten": [
  880. 2,
  881. {
  882. "filters": [
  883. ],
  884. "orderBys": [
  885. ],
  886. "path": "collection"
  887. }
  888. ],
  889. "expectedState": {
  890. "activeTargets": {
  891. }
  892. }
  893. },
  894. {
  895. "userListen": {
  896. "query": {
  897. "filters": [
  898. ],
  899. "orderBys": [
  900. ],
  901. "path": "collection"
  902. },
  903. "targetId": 2
  904. },
  905. "expectedSnapshotEvents": [
  906. {
  907. "added": [
  908. {
  909. "createTime": 0,
  910. "key": "collection/a",
  911. "options": {
  912. "hasCommittedMutations": false,
  913. "hasLocalMutations": false
  914. },
  915. "value": {
  916. "key": "a"
  917. },
  918. "version": 1000
  919. }
  920. ],
  921. "errorCode": 0,
  922. "fromCache": true,
  923. "hasPendingWrites": false,
  924. "query": {
  925. "filters": [
  926. ],
  927. "orderBys": [
  928. ],
  929. "path": "collection"
  930. }
  931. }
  932. ],
  933. "expectedState": {
  934. "activeTargets": {
  935. "2": {
  936. "queries": [
  937. {
  938. "filters": [
  939. ],
  940. "orderBys": [
  941. ],
  942. "path": "collection"
  943. }
  944. ],
  945. "resumeToken": "resume-token-1000"
  946. }
  947. }
  948. }
  949. }
  950. ]
  951. },
  952. "Contents of query are removed after listen is removed, and GC threshold is reached": {
  953. "describeName": "Garbage Collection:",
  954. "itName": "Contents of query are removed after listen is removed, and GC threshold is reached",
  955. "tags": [
  956. ],
  957. "config": {
  958. "numClients": 1,
  959. "useEagerGCForMemory": false
  960. },
  961. "steps": [
  962. {
  963. "userListen": {
  964. "query": {
  965. "filters": [
  966. ],
  967. "orderBys": [
  968. ],
  969. "path": "collection"
  970. },
  971. "targetId": 2
  972. },
  973. "expectedState": {
  974. "activeTargets": {
  975. "2": {
  976. "queries": [
  977. {
  978. "filters": [
  979. ],
  980. "orderBys": [
  981. ],
  982. "path": "collection"
  983. }
  984. ],
  985. "resumeToken": ""
  986. }
  987. }
  988. }
  989. },
  990. {
  991. "watchAck": [
  992. 2
  993. ]
  994. },
  995. {
  996. "watchEntity": {
  997. "docs": [
  998. {
  999. "createTime": 0,
  1000. "key": "collection/a",
  1001. "options": {
  1002. "hasCommittedMutations": false,
  1003. "hasLocalMutations": false
  1004. },
  1005. "value": {
  1006. "key": "a"
  1007. },
  1008. "version": 1000
  1009. }
  1010. ],
  1011. "targets": [
  1012. 2
  1013. ]
  1014. }
  1015. },
  1016. {
  1017. "watchCurrent": [
  1018. [
  1019. 2
  1020. ],
  1021. "resume-token-1000"
  1022. ]
  1023. },
  1024. {
  1025. "watchSnapshot": {
  1026. "targetIds": [
  1027. ],
  1028. "version": 1000
  1029. },
  1030. "expectedSnapshotEvents": [
  1031. {
  1032. "added": [
  1033. {
  1034. "createTime": 0,
  1035. "key": "collection/a",
  1036. "options": {
  1037. "hasCommittedMutations": false,
  1038. "hasLocalMutations": false
  1039. },
  1040. "value": {
  1041. "key": "a"
  1042. },
  1043. "version": 1000
  1044. }
  1045. ],
  1046. "errorCode": 0,
  1047. "fromCache": false,
  1048. "hasPendingWrites": false,
  1049. "query": {
  1050. "filters": [
  1051. ],
  1052. "orderBys": [
  1053. ],
  1054. "path": "collection"
  1055. }
  1056. }
  1057. ]
  1058. },
  1059. {
  1060. "userUnlisten": [
  1061. 2,
  1062. {
  1063. "filters": [
  1064. ],
  1065. "orderBys": [
  1066. ],
  1067. "path": "collection"
  1068. }
  1069. ],
  1070. "expectedState": {
  1071. "activeTargets": {
  1072. }
  1073. }
  1074. },
  1075. {
  1076. "triggerLruGC": 1
  1077. },
  1078. {
  1079. "userListen": {
  1080. "query": {
  1081. "filters": [
  1082. ],
  1083. "orderBys": [
  1084. ],
  1085. "path": "collection"
  1086. },
  1087. "targetId": 4
  1088. },
  1089. "expectedState": {
  1090. "activeTargets": {
  1091. "4": {
  1092. "queries": [
  1093. {
  1094. "filters": [
  1095. ],
  1096. "orderBys": [
  1097. ],
  1098. "path": "collection"
  1099. }
  1100. ],
  1101. "resumeToken": ""
  1102. }
  1103. }
  1104. }
  1105. }
  1106. ]
  1107. }
  1108. }