diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-06-16 06:43:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-06-16 06:43:54 +0000 |
commit | 82e85e1f9436f02e99ce81ef405bb3516c81ab9e (patch) | |
tree | 3701f38fd666ce154a983652eba3a7bb34fdbefe /src | |
parent | 95188a357bc3541b0520388283838606b1ca5915 (diff) | |
parent | afa8fdc97eb3b8e76755c5ef3224b9e4b5aa9e4f (diff) |
Merge "[OPTIM] Tune SDC delay before certification"
Diffstat (limited to 'src')
-rw-r--r-- | src/onaptests/steps/onboard/service.py | 4 | ||||
-rw-r--r-- | src/onaptests/steps/onboard/vf.py | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/onaptests/steps/onboard/service.py b/src/onaptests/steps/onboard/service.py index 8a7303b..ee2d3ab 100644 --- a/src/onaptests/steps/onboard/service.py +++ b/src/onaptests/steps/onboard/service.py @@ -70,7 +70,7 @@ class ServiceOnboardStep(BaseStep): # checkin is done if needed # If service is replayed, no need to try to re-onboard the model if not service.distributed: - time.sleep(30) + time.sleep(10) service.checkin() service.onboard() @@ -155,7 +155,7 @@ class YamlTemplateServiceOnboardStep(YamlTemplateBaseStep): except (APIError, ResourceNotFound): # Retry as checkin may be a bit long # Temp workaround to avoid internal race in SDC - time.sleep(5) + time.sleep(10) service.checkin() service.onboard() 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() |