PolymerLabs / arcs

Arcs
BSD 3-Clause "New" or "Revised" License
56 stars 35 forks source link

Updating volatile storage impl to allow us to count entities in memory. #7060

Closed alxmrs closed 3 years ago

alxmrs commented 3 years ago

This is needed for policy integration tests that confirm volatile data abides by proper lifetimes (TTLs, Arc lifecycle, etc). In the status quo, the VolatileDriverProvider always returns 0 for the number of entities in memory.

CC: @galganif

alxmrs commented 3 years ago

@jasonwyatt, I just added and then removed you as a reviewer. The remove was in response to the realization that I should update the unit tests before sending this out for review. Please forgive the notification spam :)