diff options
author | bschubert15 <bschubert15@bloomberg.net> | 2020-03-18 10:28:56 +0000 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2020-03-24 14:26:22 +0000 |
commit | 4922c0481898ac3d043be7782617d6eebd518b1e (patch) | |
tree | 2b8fe359e76021c0780da086dca293c128406672 /tests/internals/storage.py | |
parent | aec9deb3b7cd759ee35751b2e27fb54f7966b0b2 (diff) | |
download | buildstream-4922c0481898ac3d043be7782617d6eebd518b1e.tar.gz |
cascache.py: Create cas logs in the buildstream cache directory
This moves the cas logs outside of the cas directory. Since BuildStream
is responsible for creating and handling the logs, it should not be in
the cas directory.
Diffstat (limited to 'tests/internals/storage.py')
-rw-r--r-- | tests/internals/storage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/internals/storage.py b/tests/internals/storage.py index 89a198d98..2e636cc53 100644 --- a/tests/internals/storage.py +++ b/tests/internals/storage.py @@ -21,7 +21,7 @@ def setup_backend(backend_class, tmpdir): if backend_class == FileBasedDirectory: yield backend_class(os.path.join(tmpdir, "vdir")) else: - cas_cache = CASCache(tmpdir) + cas_cache = CASCache(os.path.join(tmpdir, "cas"), log_directory=os.path.join(tmpdir, "logs")) try: yield backend_class(cas_cache) finally: |