summaryrefslogtreecommitdiff
path: root/tests/artifactcache
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-06-06 15:38:16 +0200
committerJürg Billeter <j@bitron.ch>2019-08-20 07:41:23 +0200
commit147dd700fa9bf9634e23c8a38173ca49699570c6 (patch)
tree53e60145111dd5f83ff813b90c7dae870a57c542 /tests/artifactcache
parentfb0184dbf41ed98b2f69d84a847200d7df187107 (diff)
downloadbuildstream-147dd700fa9bf9634e23c8a38173ca49699570c6.tar.gz
_scheduler: Remove cleanup job
Cache expiry will be managed by buildbox-casd.
Diffstat (limited to 'tests/artifactcache')
-rw-r--r--tests/artifactcache/expiry.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/artifactcache/expiry.py b/tests/artifactcache/expiry.py
index b163903cb..df594e4cc 100644
--- a/tests/artifactcache/expiry.py
+++ b/tests/artifactcache/expiry.py
@@ -41,6 +41,7 @@ DATA_DIR = os.path.join(
# Ensure that the cache successfully removes an old artifact if we do
# not have enough space left.
@pytest.mark.datafiles(DATA_DIR)
+@pytest.mark.xfail()
def test_artifact_expires(cli, datafiles):
project = str(datafiles)
element_path = 'elements'
@@ -83,6 +84,7 @@ def test_artifact_expires(cli, datafiles):
(399999)
])
@pytest.mark.datafiles(DATA_DIR)
+@pytest.mark.xfail()
def test_artifact_too_large(cli, datafiles, size):
project = str(datafiles)
element_path = 'elements'
@@ -101,6 +103,7 @@ def test_artifact_too_large(cli, datafiles, size):
@pytest.mark.datafiles(DATA_DIR)
+@pytest.mark.xfail()
def test_expiry_order(cli, datafiles):
project = str(datafiles)
element_path = 'elements'
@@ -158,6 +161,7 @@ def test_expiry_order(cli, datafiles):
# in the current build pipeline, because that would be embarassing,
# wouldn't it?
@pytest.mark.datafiles(DATA_DIR)
+@pytest.mark.xfail()
def test_keep_dependencies(cli, datafiles):
project = str(datafiles)
element_path = 'elements'
@@ -204,6 +208,7 @@ def test_keep_dependencies(cli, datafiles):
# Assert that we never delete a dependency required for a build tree
@pytest.mark.datafiles(DATA_DIR)
+@pytest.mark.xfail()
def test_never_delete_required(cli, datafiles):
project = str(datafiles)
element_path = 'elements'
@@ -256,6 +261,7 @@ def test_never_delete_required(cli, datafiles):
# artifacts we do not require, and the new build is run with dynamic tracking.
#
@pytest.mark.datafiles(DATA_DIR)
+@pytest.mark.xfail()
def test_never_delete_required_track(cli, datafiles):
project = str(datafiles)
element_path = 'elements'
@@ -399,6 +405,7 @@ def test_invalid_cache_quota(cli, datafiles, quota, err_domain, err_reason):
# the cache size and cleanup jobs are run before any other jobs.
#
@pytest.mark.datafiles(DATA_DIR)
+@pytest.mark.xfail()
def test_cleanup_first(cli, datafiles):
project = str(datafiles)
element_path = 'elements'