def _SetupSharding(self, tests): """Creates the shared pool of tests and makes it available to test runners. Args: tests: the list of tests which will be consumed by workers. """ SetTestsContainer( sharded_tests_queue.ShardedTestsQueue(len(self.attached_devices), tests))
def SetupSharding(self, tests): """Called before starting the shards.""" SetTestsContainer( sharded_tests_queue.ShardedTestsQueue(len(self.attached_devices), tests))