summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-03-20 14:28:07 +0100
committerBrady Johnson <brady.allen.johnson@ericsson.com>2017-03-20 18:13:49 +0000
commit1b9b0ad28243362b7953db12ebd072d9c6a99aff (patch)
treef07894560097cf97c91157163947480947e9ab0f
parenta6b018e8ab9b3126c4e9d0b930ab6de8d9f482a7 (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>
-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)