Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_buffer::test_buffering_proxy_storage_extid_threshold_hit
Failed

TEST RESULT

Run At
Apr 29 2021, 10:28 AM
Details
sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f472210b198> def test_buffering_proxy_storage_extid_threshold_hit(sample_data) -> None: extid = sample_data.extid1 storage = get_storage_with_buffer_config(min_batch_size={"extid": 1,}) > s = storage.extid_add([extid]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_buffer.py:189: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/storage/buffer.py:138: in object_add return self.flush() .tox/py3/lib/python3.7/site-packages/swh/storage/buffer.py:156: in flush stats = add_fn(list(batch)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7f472210b7f0> ids = [ExtID(extid_type='git', extid=b'\x01\xa7\x11O6\xfd\xdd^\xf2Q\x1b,\xad\xda#zh\xad\xbb\x12', target=CoreSWHID(namespace...\xad\xbb\x12', object_type=<ObjectType.REVISION: 'rev'>), id=b'Hn \xcc\xed\xc2!\x07[\x12\xab\xbb`z\x88\x88u\xdbA\xf6')] def extid_add(self, ids: List[ExtID]) -> Dict[str, int]: > if not self._allow_overwrite: E AttributeError: 'InMemoryStorage' object has no attribute '_allow_overwrite' .tox/py3/lib/python3.7/site-packages/swh/storage/cassandra/storage.py:1389: AttributeError