diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-05-11 09:38:25 +0000 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2021-05-12 15:53:39 +0000 |
commit | 64223615e17cdd019c8613b93a4440ae9cac47b3 (patch) | |
tree | b73893d7c62fd239c7145b8bc92eee73a212bbc5 /src/onaptests/configuration/basic_vm_macro_settings.py | |
parent | 44c4437d52355a4ba371f80ce68a12a7967b2cb4 (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
(cherry picked from commit 0e02e3c314f6787cfbddee6f32b9776225ddec16)
Diffstat (limited to 'src/onaptests/configuration/basic_vm_macro_settings.py')
0 files changed, 0 insertions, 0 deletions