aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sfc/lib/topology_shuffler.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/sfc/lib/topology_shuffler.py b/sfc/lib/topology_shuffler.py
index 84392ed3..7f2ad3b1 100644
--- a/sfc/lib/topology_shuffler.py
+++ b/sfc/lib/topology_shuffler.py
@@ -69,8 +69,10 @@ def get_seed():
NOTE: There's sure a smarter way to do this
Probably with the Jenkins job id
'''
- cutoff = len(TOPOLOGIES) - 1
- # We only add the topologies which are working
+ # We only try tests which work
+ test_working = 2
+ cutoff = test_working - 1
+ # cutoff = len(TOPOLOGIES) - 1
seed = datetime.datetime.today().weekday()
if seed > cutoff:
seed = random.randrange(cutoff)