From 96867baa6ff72320634da3dd665dca47590124ef Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Fri, 2 Feb 2018 11:27:53 +0100 Subject: [PATCH] make test: use random seed This fixes a constant setting of random seed forgotten from testing. Change-Id: Ie3c4db8bb2b4b73ba33de1ffc02cb563391fd31c Signed-off-by: Klement Sekera --- test/framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__) -- 2.16.6