Commit e869e115 authored by Robert Bradshaw's avatar Robert Bradshaw

Another comment on sharding.

parent f2cc075f
...@@ -1219,6 +1219,8 @@ def string_selector(s): ...@@ -1219,6 +1219,8 @@ def string_selector(s):
class ShardExcludeSelector: class ShardExcludeSelector:
# This is an exclude selector so it can override the (include) selectors. # This is an exclude selector so it can override the (include) selectors.
# It may not provide uniform distribution (in time or count), but is a
# determanistic partition of the tests which is important.
def __init__(self, shard_num, shard_count): def __init__(self, shard_num, shard_count):
self.shard_num = shard_num self.shard_num = shard_num
self.shard_count = shard_count self.shard_count = shard_count
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment