From a7c68ec92f05b5eb742bdd50b1ab677a6a11e340 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Mon, 20 Mar 2017 14:28:07 +0100 Subject: Add all topologies to the test We were limiting the topologies to the ones working but we believe all should work now Change-Id: I11921916105a149c585cd934150de2898286b142 Signed-off-by: Manuel Buil (cherry picked from commit 1b9b0ad28243362b7953db12ebd072d9c6a99aff) --- sfc/lib/topology_shuffler.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sfc/lib/topology_shuffler.py b/sfc/lib/topology_shuffler.py index aea8a75a..84392ed3 100644 --- a/sfc/lib/topology_shuffler.py +++ b/sfc/lib/topology_shuffler.py @@ -69,10 +69,8 @@ def get_seed(): NOTE: There's sure a smarter way to do this Probably with the Jenkins job id ''' - # cutoff = len(TOPOLOGIES) - 1 + cutoff = len(TOPOLOGIES) - 1 # We only add the topologies which are working - topologies_working = 2 - cutoff = topologies_working - 1 seed = datetime.datetime.today().weekday() if seed > cutoff: seed = random.randrange(cutoff) -- cgit 1.2.3-korg