Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4eba78a
)
FIX: Vhost teardown
94/21294/1
author
Peter Mikus
<
[email protected]
>
Wed, 7 Aug 2019 14:47:34 +0000
(14:47 +0000)
committer
Peter Mikus
<
[email protected]
>
Wed, 14 Aug 2019 10:15:25 +0000
(10:15 +0000)
If test failed before vnf_manager is created then teardown
does fail as well due to missing variable.
Signed-off-by: Peter Mikus <
[email protected]
>
Change-Id: I0b23648bce78738cf4c377979d7a06fb488d990d
(cherry picked from commit
8f41f1d040453d963440d8cc99fb2b957521120b
)
resources/libraries/robot/shared/test_teardown.robot
patch
|
blob
|
history
diff --git
a/resources/libraries/robot/shared/test_teardown.robot
b/resources/libraries/robot/shared/test_teardown.robot
index
cad3c62
..
e130038
100644
(file)
--- a/
resources/libraries/robot/shared/test_teardown.robot
+++ b/
resources/libraries/robot/shared/test_teardown.robot
@@
-65,7
+65,9
@@
| | ... | Additional teardown for tests which uses vhost(s) and VM(s).
| | ...
| | Show VPP vhost on all DUTs | ${nodes}
-| | vnf_manager.Kill All VMs
+| | ${vnf_status} | ${value}= | Run Keyword And Ignore Error
+| | ... | Keyword Should Exist | vnf_manager.Kill All VMs
+| | Run Keyword If | '${vnf_status}' == 'PASS' | vnf_manager.Kill All VMs
| Additional Test Tear Down Action For nat
| | [Documentation]