aboutsummaryrefslogtreecommitdiffstats
path: root/test/framework.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-02-02 11:27:53 +0100
committerFlorin Coras <florin.coras@gmail.com>2018-02-02 16:09:33 +0000
commit96867baa6ff72320634da3dd665dca47590124ef (patch)
tree5d7213177377b83829f4b08d6f3cba6cda612b6b /test/framework.py
parent7016b000d7b3e20130dae9c78ac67185258391a6 (diff)
make test: use random seed
This fixes a constant setting of random seed forgotten from testing. Change-Id: Ie3c4db8bb2b4b73ba33de1ffc02cb563391fd31c Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/framework.py')
-rw-r--r--test/framework.py2
1 files changed, 1 insertions, 1 deletions
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__)