commit | 53b01155d44ea67408aebb63d976ddc0826eddfe | [log] [tgz] |
---|---|---|
author | ivan-zhu <bozhu@linux.vnet.ibm.com> | Mon Mar 25 16:21:07 2013 +0800 |
committer | ivan-zhu <bozhu@linux.vnet.ibm.com> | Wed Mar 27 21:56:33 2013 +0800 |
tree | 0aee0e356737b6a9b6bd908b49f2fc3beddf9a07 | |
parent | ccebcd1759644e17a5c549a787fb9c0ce5a698e7 [diff] |
cleanup resource in setUpClass if ecxeption raised this catch the exception in setUpClass of test_list_image_filters and cleanup resource. Every exception should be catched so hasn't specify what kind of exception after except. In BaseComputeTest.create_server if a exception raised in wait_for_server_status, the server won't be append to cls.servers and cann't be deleted in clear_server.So change the order. fix bug 1158851 Change-Id: I4c6cf1e9103383dbb5b572b0ee613a12b8c3be03