Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "Update release note for Danube.2.0"
[yardstick.git]
/
yardstick
/
benchmark
/
contexts
/
base.py
diff --git
a/yardstick/benchmark/contexts/base.py
b/yardstick/benchmark/contexts/base.py
index
9f2b215
..
0be2eee
100644
(file)
--- a/
yardstick/benchmark/contexts/base.py
+++ b/
yardstick/benchmark/contexts/base.py
@@
-46,6
+46,10
@@
class Context(object):
@abc.abstractmethod
def undeploy(self):
"""Undeploy context."""
+ self._delete_context()
+
+ def _delete_context(self):
+ Context.list.remove(self)
@abc.abstractmethod
def _get_server(self, attr_name):