MCPcopy Create free account
hub / github.com/wal-e/wal-e / make_pool

Function make_pool

tests/test_tar_upload_pool.py:32–35  ·  view source on GitHub ↗

Set up a pool with a FakeUploader

(max_concurrency, max_members)

Source from the content-addressed store, hash-verified

30
31
32def make_pool(max_concurrency, max_members):
33 """Set up a pool with a FakeUploader"""
34 return worker.TarUploadPool(FakeUploader(),
35 max_concurrency, max_members)
36
37
38def test_simple():

Callers 8

test_simpleFunction · 0.85
test_simple_concurrencyFunction · 0.85
test_fault_midstreamFunction · 0.85
test_fault_joinFunction · 0.85
test_put_after_joinFunction · 0.85

Calls 1

FakeUploaderClass · 0.85

Tested by

no test coverage detected