Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_tenacious.TestTenaciousStorage::test_origin_visit_status_get_random
Failed

TEST RESULT

Run At
Aug 27 2021, 11:57 AM
Details
self = <swh.storage.tests.test_tenacious.TestTenaciousStorage object at 0x7fb8b66024a8> swh_storage = <swh.storage.proxies.tenacious.TenaciousProxyStorage object at 0x7fb8b2ba8f60> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb8af992d30> def test_origin_visit_status_get_random(self, swh_storage, sample_data): origins = sample_data.origins[:2] swh_storage.origin_add(origins) # Add some random visits within the selection range visits = self._generate_random_visits() visit_type = "git" # Add visits to those origins for origin in origins: for date_visit in visits: visit = swh_storage.origin_visit_add( [OriginVisit(origin=origin.url, date=date_visit, type=visit_type,)] )[0] swh_storage.origin_visit_status_add( [ OriginVisitStatus( origin=origin.url, visit=visit.visit, date=now(), status="full", snapshot=None, ) ] ) if not isinstance(swh_storage, CassandraStorage): swh_storage.refresh_stat_counters() > stats = swh_storage.stat_counters() .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:1933: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb8b2ba80f0> def stat_counters(self): > raise NotImplementedError() E NotImplementedError .tox/py3/lib/python3.7/site-packages/swh/storage/cassandra/storage.py:1293: NotImplementedError