diff --git a/attic/run_test.py b/attic/run_test.py index b7768bab92803224c778a5a328cdf000550849ba..2c247c5367461d98d21c093d6ffb3dd28776d48d 100755 --- a/attic/run_test.py +++ b/attic/run_test.py @@ -24,7 +24,7 @@ import yaml # import json # import tarfile from time import sleep -from random import randint +import random import os from sys import stderr from uuid import uuid4 @@ -2353,7 +2353,7 @@ class TestDeploy: headers = headers_yaml else: headers = headers_zip_yaml - if randint(0, 1) == 0: + if random.SystemRandom().randint(0, 1) == 0: # vnfd CREATE AND UPLOAD in one step: engine.test( "Onboard VNFD in one step", @@ -2431,7 +2431,7 @@ class TestDeploy: else: headers = headers_zip_yaml - if randint(0, 1) == 0: + if random.SystemRandom().randint(0, 1) == 0: # nsd CREATE AND UPLOAD in one step: engine.test( "Onboard NSD in one step",