From edeb956a82cc5dcdfd4118b0034d4d323028aa57 Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Mon, 14 Aug 2017 16:56:13 +0200 Subject: [PATCH] lc: add attr lifecycle_expiration for lc tests using expiration Allows us to additionally filter out these tests which currently fail in the teuthology runs Signed-off-by: Abhishek Lekshmanan --- s3tests/functional/test_s3.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index b8dc47f..7150b5c 100644 --- a/s3tests/functional/test_s3.py +++ b/s3tests/functional/test_s3.py @@ -7534,6 +7534,7 @@ def test_lifecycle_get(): @attr(method='put') @attr(operation='test lifecycle expiration') @attr('lifecycle') +@attr('lifecycle_expiration') @attr('fails_on_aws') def test_lifecycle_expiration(): bucket = set_lifecycle(rules=[{'id': 'rule1', 'days': 2, 'prefix': 'expire1/', 'status': 'Enabled'}, @@ -7686,6 +7687,7 @@ def test_lifecycle_set_invalid_date(): @attr(method='put') @attr(operation='test lifecycle expiration with date') @attr('lifecycle') +@attr('lifecycle_expiration') @attr('fails_on_aws') def test_lifecycle_expiration_date(): bucket = get_new_bucket() @@ -7734,6 +7736,7 @@ def test_lifecycle_set_noncurrent(): @attr(method='put') @attr(operation='test lifecycle non-current version expiration') @attr('lifecycle') +@attr('lifecycle_expiration') @attr('fails_on_aws') def test_lifecycle_noncur_expiration(): bucket = get_new_bucket() @@ -7780,6 +7783,7 @@ def test_lifecycle_set_deletemarker(): @attr(method='put') @attr(operation='test lifecycle delete marker expiration') @attr('lifecycle') +@attr('lifecycle_expiration') @attr('fails_on_aws') def test_lifecycle_deletemarker_expiration(): bucket = get_new_bucket() @@ -7832,6 +7836,7 @@ def test_lifecycle_set_multipart(): @attr(method='put') @attr(operation='test lifecycle multipart expiration') @attr('lifecycle') +@attr('lifecycle_expiration') @attr('fails_on_aws') def test_lifecycle_multipart_expiration(): bucket = get_new_bucket()