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:
@@ -3374,6 +3374,11 @@ class SSHConnection():
|
|||||||
self.ShowTestID()
|
self.ShowTestID()
|
||||||
self.eNB_instance = '0'
|
self.eNB_instance = '0'
|
||||||
self.TerminateeNB()
|
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
|
self.prematureExit = True
|
||||||
|
|
||||||
def IdleSleep(self):
|
def IdleSleep(self):
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
<htmlTabIcon>tasks</htmlTabIcon>
|
<htmlTabIcon>tasks</htmlTabIcon>
|
||||||
<TestCaseRequestedList>
|
<TestCaseRequestedList>
|
||||||
030201 030202
|
030201 030202
|
||||||
|
050202
|
||||||
</TestCaseRequestedList>
|
</TestCaseRequestedList>
|
||||||
<TestCaseExclusionList></TestCaseExclusionList>
|
<TestCaseExclusionList></TestCaseExclusionList>
|
||||||
|
|
||||||
@@ -43,4 +44,9 @@
|
|||||||
<eNB_serverId>1</eNB_serverId>
|
<eNB_serverId>1</eNB_serverId>
|
||||||
</testCase>
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="050202">
|
||||||
|
<class>Terminate_FlexranCtrl</class>
|
||||||
|
<desc>Stopping Flexran Controller</desc>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
</testCaseList>
|
</testCaseList>
|
||||||
|
|||||||
Reference in New Issue
Block a user