[TEST] PNF macro nad CDS resource resoulution tests are failing on retry 00/127300/1
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 25 Feb 2022 07:08:27 +0000 (07:08 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 25 Feb 2022 07:08:27 +0000 (07:08 +0000)
commitf0a5bdf622433361b5a86da4aa216d542d2a8aa4
tree43bcbc3e997e009e8d25bab6643633703d0008a1
parentd7b0b373ab7f1e842026e761f0828c01db4183eb
[TEST] PNF macro nad CDS resource resoulution tests are failing on retry

If any of these two tests fail on the first try retry will always fail as well.
It's because of that test's cleanup phase was executed only if an execution phase passed (all substeps).
Because of that simulators was never deleted and second instantiation try fails every time.
That change split test into two phases: execution and cleanup - if execution fails cleanup will be executed despite of that.

Issue-ID: TEST-354
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Icf4abb1d82c64d1168e6200e94f9e05b54223d9c
src/onaptests/scenario/cds_resource_resolution.py
src/onaptests/scenario/pnf_macro.py