Revert "Revert "Re-enable rename container test""
This reverts commit 4b9e5ddfc4d53035b2f72738b5e97ce64c7e6473. Change-Id: Ie5e4c6990022f95ecb0afa0fdd32efc9664a98e5
This commit is contained in:
parent
14ed11c720
commit
5686ef6e1c
@ -515,7 +515,6 @@ class TestContainer(base.BaseZunTest):
|
||||
docker_base_url)
|
||||
self._assert_resource_constraints(container, cpu=0.2, memory=200)
|
||||
|
||||
@decorators.skip_because(bug="1759459")
|
||||
@decorators.idempotent_id('b218bea7-f19b-499f-9819-c7021ffc59f4')
|
||||
def test_rename_container(self):
|
||||
container1_name = data_utils.rand_name('container1')
|
||||
@ -523,7 +522,7 @@ class TestContainer(base.BaseZunTest):
|
||||
self.assertEqual(container1_name, model.name)
|
||||
container2_name = data_utils.rand_name('container2')
|
||||
gen_model = datagen.container_rename_data(name=container2_name)
|
||||
resp, model = self.container_client.rename_container(model.uuid,
|
||||
resp, model = self.container_client.update_container(model.uuid,
|
||||
gen_model)
|
||||
self.assertEqual(200, resp.status)
|
||||
self.assertEqual(container2_name, model.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user