CI: better handling of test failures

-- Properly stopping FlexRan Ctl in case of failure

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2019-09-03 11:21:30 +02:00
parent 4b441fc473
commit ed2b77529b
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -3374,6 +3374,11 @@ class SSHConnection():
self.ShowTestID()
self.eNB_instance = '0'
self.TerminateeNB()
if self.flexranCtrlInstalled and self.flexranCtrlStarted:
self.testCase_id = 'AUTO-KILL-flexran-ctl'
self.desc = 'Automatic Termination of FlexRan CTL'
self.ShowTestID()
self.TerminateFlexranCtrl()
self.prematureExit = True
def IdleSleep(self):