diff options
author | Klement Sekera <ksekera@cisco.com> | 2018-02-02 11:27:53 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-02-02 16:09:33 +0000 |
commit | 96867baa6ff72320634da3dd665dca47590124ef (patch) | |
tree | 5d7213177377b83829f4b08d6f3cba6cda612b6b | |
parent | 7016b000d7b3e20130dae9c78ac67185258391a6 (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>
-rw-r--r-- | test/framework.py | 2 |
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__) |