This patch resolves an issue where if a functional test fails
in the middle of a run, VNFD remain and the next functional test fails.
This problem is that if the function test fails in the middle,
the VNFD created in the function test remains without being deleted,
so if the same VNFD name is used in the next function test executed,
the VNFD creation will fail.
Therefore, the following changes have been made.
* Changed the timing of calling addCleanup()
* Made VNFD creation a common function
This patch fixes the following bugs, but VNF does not.
Reviewed: https:/ /review. opendev. org/714816 /git.openstack. org/cgit/ openstack/ tacker/ commit/ ?id=45c52294596 47c89a4c047f70a bf0031dfea1b90
Committed: https:/
Submitter: Zuul
Branch: master
commit 45c5229459647c8 9a4c047f70abf00 31dfea1b90
Author: horie naoaki <email address hidden>
Date: Mon Jan 27 05:55:40 2020 +0000
Delete remaining VNFD in functinal test
This patch resolves an issue where if a functional test fails
in the middle of a run, VNFD remain and the next functional test fails.
This problem is that if the function test fails in the middle,
the VNFD created in the function test remains without being deleted,
so if the same VNFD name is used in the next function test executed,
the VNFD creation will fail.
Therefore, the following changes have been made.
* Changed the timing of calling addCleanup()
* Made VNFD creation a common function
This patch fixes the following bugs, but VNF does not.
Change-Id: I8a932fbe337960 4b0c3173d2c06e6 ed7abb8beaf
Partial-Bug: #1771494