def test02StoreRefresh(self):
    s = utils.FastStore(max_size=5)
    keys = []
    for i in range(0, 5):
      keys.append(s.Put(i, i))

    # This should not raise because keys[0] should be refreshed each time its
    # gotten
    for i in range(0, 1000):
      s.Get(keys[0])
      s.Put(i, i)
Test that store keeps recently gotten objects fresh.
dataset/ETHPy150Open google/grr/grr/lib/utils_test.py/StoreTests.test02StoreRefresh