)]}'
{"tempest/api/compute/base.py":[{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"24a72d3dc2316a163c944729caab4db049eb795f","unresolved":false,"context_lines":[{"line_number":334,"context_line":"        return server[\u0027id\u0027]"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    @classmethod"},{"line_number":337,"context_line":"    def delete_server(cls, server_id):"},{"line_number":338,"context_line":"        \"\"\"Deletes an existing server and waits for it to be gone.\"\"\""},{"line_number":339,"context_line":"        try:"},{"line_number":340,"context_line":"            cls.servers_client.delete_server(server_id)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3acd31a7_226895b8","line":337,"updated":"2015-05-05 15:40:24.000000000","message":"Hmm, I\u0027m surprised this didn\u0027t already exist","commit_id":"613b498ca967a2591bfd74c284f7ab30c1c98f4a"}],"tempest/api/compute/servers/test_server_actions.py":[{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"9c37c24f3308f331f0e1585e2d27d5619e8acd08","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        try:"},{"line_number":44,"context_line":"            self.client.wait_for_server_status(self.server_id, \u0027ACTIVE\u0027)"},{"line_number":45,"context_line":"        except Exception:"},{"line_number":46,"context_line":"            # Rebuild server if something happened to it during a test"},{"line_number":47,"context_line":"            self.__class__.server_id \u003d self.rebuild_server(self.server_id)"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def tearDown(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3acd31a7_ccba610a","line":46,"updated":"2015-05-04 15:20:54.000000000","message":"So instead of doing the server recreation below I would modify the logic here to make sure the server is of primary flavor. I think the race you\u0027re hitting is likely to happen to any of the other resize test too. It is fully dependent on test execution order which there is no guarantee. The other option would be to add a flavor check to all of the resize test methods (or use addCleanup in the shared resize method) to ensure all the resize tests return the server to it\u0027s original flavor.","commit_id":"dac011603300b5ca73c910b4bc0422a48ff3c721"}]}
