summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-03-20 14:28:07 +0100
committerManuel Buil <mbuil@suse.com>2017-03-20 20:14:40 +0000
commita7c68ec92f05b5eb742bdd50b1ab677a6a11e340 (patch)
treef07894560097cf97c91157163947480947e9ab0f
parent1fa46438b3e00ed467a9b613d7908f799611b6a9 (diff)
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 <mbuil@suse.com> (cherry picked from commit 1b9b0ad28243362b7953db12ebd072d9c6a99aff)
-rw-r--r--sfc/lib/topology_shuffler.py4
1 files changed, 1 insertions, 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)