aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/onboard/vf.py
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2021-05-27 08:59:31 +0200
committermrichomme <morgan.richomme@orange.com>2021-05-27 08:59:31 +0200
commitafa8fdc97eb3b8e76755c5ef3224b9e4b5aa9e4f (patch)
treef9c7d6fa101c5e91950303ebbe1e39103da5ebe1 /src/onaptests/steps/onboard/vf.py
parentc6df8a0bbd0ed66e97001203d0d6dff7008289e2 (diff)
[OPTIM] Tune SDC delay before certification
workaround to reduce the risk of race condition add also a delay between VF creation on certification Issue-ID: TEST-315 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I811de68c92ddaf38431d0b6eb2d0fbc715478d5a
Diffstat (limited to 'src/onaptests/steps/onboard/vf.py')
-rw-r--r--src/onaptests/steps/onboard/vf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/onaptests/steps/onboard/vf.py b/src/onaptests/steps/onboard/vf.py
index c6582dd..7e4882e 100644
--- a/src/onaptests/steps/onboard/vf.py
+++ b/src/onaptests/steps/onboard/vf.py
@@ -1,3 +1,5 @@
+import time
+
from onapsdk.configuration import settings
from onapsdk.sdc.vf import Vf
from onapsdk.sdc.vsp import Vsp
@@ -98,4 +100,5 @@ class YamlTemplateVfOnboardStep(YamlTemplateBaseStep):
artifact_label=vnf["vnf_artifact_label"],
artifact=vnf["vnf_artifact_file_path"]
)
+ time.sleep(10)
vf.onboard()