Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7016b00
)
make test: use random seed
88/10388/2
author
Klement Sekera
<ksekera@cisco.com>
Fri, 2 Feb 2018 10:27:53 +0000
(11:27 +0100)
committer
Florin Coras
<florin.coras@gmail.com>
Fri, 2 Feb 2018 16:09:33 +0000
(16:09 +0000)
This fixes a constant setting of random seed forgotten from testing.
Change-Id: Ie3c4db8bb2b4b73ba33de1ffc02cb563391fd31c
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/framework.py
patch
|
blob
|
history
diff --git
a/test/framework.py
b/test/framework.py
index
fc6f550
..
e2b4d7b
100644
(file)
--- 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__)