functests: make container creation less flakey in test_object

Change-Id: If62d82beb202dea553776920a95c177518b162ab
This commit is contained in:
Tim Burke
2019-07-10 09:13:44 -07:00
parent 392c967af5
commit 38a24571ad

View File

@@ -75,7 +75,7 @@ class TestObject(unittest2.TestCase):
return check_response(conn)
resp = retry(put, name, use_account=use_account)
resp.read()
self.assertEqual(resp.status, 201)
self.assertIn(resp.status, (201, 202))
# With keystoneauth we need the accounts to have had the project
# domain id persisted as sysmeta prior to testing ACLs. This may