From: Klement Sekera Date: Fri, 2 Feb 2018 10:27:53 +0000 (+0100) Subject: make test: use random seed X-Git-Tag: v18.04-rc1~387 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=96867baa6ff72320634da3dd665dca47590124ef;p=vpp.git make test: use random seed This fixes a constant setting of random seed forgotten from testing. Change-Id: Ie3c4db8bb2b4b73ba33de1ffc02cb563391fd31c Signed-off-by: Klement Sekera --- diff --git a/test/framework.py b/test/framework.py index fc6f550184f..e2b4d7bd566 100644 --- a/test/framework.py +++ b/test/framework.py @@ -319,7 +319,7 @@ class VppTestCase(unittest.TestCase): Remove shared memory files, start vpp and connect the vpp-api """ gc.collect() # run garbage collection first - random.seed(1) + random.seed() cls.logger = getLogger(cls.__name__) cls.tempdir = tempfile.mkdtemp( prefix='vpp-unittest-%s-' % cls.__name__)