diff options
author | mrichomme <morgan.richomme@orange.com> | 2021-05-27 08:59:31 +0200 |
---|---|---|
committer | mrichomme <morgan.richomme@orange.com> | 2021-05-27 08:59:31 +0200 |
commit | afa8fdc97eb3b8e76755c5ef3224b9e4b5aa9e4f (patch) | |
tree | f9c7d6fa101c5e91950303ebbe1e39103da5ebe1 /src/onaptests/steps/onboard/service.py | |
parent | c6df8a0bbd0ed66e97001203d0d6dff7008289e2 (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/service.py')
-rw-r--r-- | src/onaptests/steps/onboard/service.py | 4 |
1 files changed, 2 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() |