Skip to content

Commit

Permalink
Skip failing 'test_bpo_set_unset_preserves_acls' systest. (#8617)
Browse files Browse the repository at this point in the history
Back-end fix for the issue expected 2019-07-12.

See #8552.
  • Loading branch information
tseaver authored Jul 8, 2019
1 parent 2a3d04b commit afc4d94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions storage/tests/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -1683,6 +1683,7 @@ def test_new_bucket_w_bpo(self):
with self.assertRaises(exceptions.BadRequest):
blob_acl.save()

@unittest.skipUnless(False, "Back-end fix for BPO/UBLA expected 2019-07-12")
def test_bpo_set_unset_preserves_acls(self):
new_bucket_name = "bpo-acls" + unique_resource_id("-")
self.assertRaises(
Expand All @@ -1704,6 +1705,8 @@ def test_bpo_set_unset_preserves_acls(self):
bucket.iam_configuration.bucket_policy_only_enabled = True
bucket.patch()

self.assertTrue(bucket.iam_configuration.bucket_policy_only_enabled)

# While BPO is set, cannot get / set ACLs
with self.assertRaises(exceptions.BadRequest):
bucket.acl.reload()
Expand Down

0 comments on commit afc4d94

Please sign in to comment.