diff options
author | Emma Foley <emma.l.foley@intel.com> | 2018-02-22 19:11:12 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-03-01 15:02:11 +0000 |
commit | 1681ba53783835e500e602a1b7500e0221eb08f9 (patch) | |
tree | 609e676f80093ff71daa49a21816b956852b2845 /tests/unit/__init__.py | |
parent | c9b24900ab4782c946f5a423e9c16365abced786 (diff) |
Update TaskParser to deal with qualified name in Context
The context name depends on the defined name in the testcase input
file, the task ID and the flags of the context.
If the context is going to be undeployed at the end of the test, the
task ID is suffixed to the name to avoid interferences with previous
deployments. If the context needs to be deployed at the end of the
test, the name assigned is kept.
This patch makes this process transparent to the developer.
This patch modifies how TaskParser determines the correct context name,
taking into account that the name might change based on context flags.
JIRA: YARDSTICK-886
Change-Id: I44da30dac562c1a4166e084645ae91c17798651d
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'tests/unit/__init__.py')
0 files changed, 0 insertions, 0 deletions