summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Goncalves <carlos.goncalves@neclab.eu>2017-08-16 15:32:56 +0200
committerCarlos Goncalves <carlos.goncalves@neclab.eu>2017-08-16 15:39:19 +0200
commit38c45126cb9c993571246b307ff644b1343712c9 (patch)
tree36c380100752e6f6b2560897c5088f28260494a3
parentd540d3046d2a65ab8c4803c0a03c964558e05f44 (diff)
Delete project after stopping Inspector
At cleanup phase, the sample Inspector fails to re-enable the state of the compute services. Such happens because the novaclient instance it's using is bound to the 'doctor' project, which has just been deleted at user.delete(). Thus, it is necessary to postpone the deletion of the project after stopping the inspector. Change-Id: I8cd5885cdfd3671a6c28342bdee65eac64dafaa8 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
-rw-r--r--tests/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.py b/tests/main.py
index b360f124..db2fafd9 100644
--- a/tests/main.py
+++ b/tests/main.py
@@ -90,8 +90,8 @@ class DoctorTest(object):
self.instance.delete()
self.network.delete()
self.image.delete()
- self.user.delete()
self.inspector.stop()
+ self.user.delete()
self.monitor.stop()
self.consumer.stop()
self.installer.cleanup()