diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-05-11 09:38:25 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-05-11 09:38:25 +0000 |
commit | 0e02e3c314f6787cfbddee6f32b9776225ddec16 (patch) | |
tree | e87b3d6b187992baf1b98c1632e9afb495da6662 /run_basicvm_nomulticloud.py | |
parent | 227f55ed67caec8e67a037bc3e901caf54617c4c (diff) |
[TEST] Catch k8s connection exceptions
In two steps: ExposeCDSBlueprintprocessorNodePortStep and PnfSimulatorCnfRegisterStep we uses kubernetes Python library to
prepare environment or check the status of pod instantiation. If connection with k8s api gateway can't be established an
exception is raised and no test report is created.
Add try...except block to catch connection error and finish test gently
Issue-ID: TEST-336
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I1993bec4c886d77645e1a60e0f3d169abeb4e8bd
Diffstat (limited to 'run_basicvm_nomulticloud.py')
0 files changed, 0 insertions, 0 deletions