Merge "Fix sometimes-flaky container name functional test."

This commit is contained in:
Zuul 2017-12-22 19:48:43 +00:00 committed by Gerrit Code Review
commit 26822232b3

View File

@ -533,7 +533,7 @@ class TestContainer(Base):
cont = self.env.account.container('a' * l)
if l <= limit:
self.assertTrue(cont.create())
self.assert_status(201)
self.assert_status((201, 202))
else:
self.assertFalse(cont.create())
self.assert_status(400)