Send an initial batch of tests down to executor
(self)
| 16 | |
| 17 | |
| 18 | def load_initial_tests(self): |
| 19 | """Send an initial batch of tests down to executor""" |
| 20 | if not self.initial_batch_size: |
| 21 | return |
| 22 | to_load = self.initial_batch_size |
| 23 | for t in self.tests: |
| 24 | if self._send_test(t): |
| 25 | to_load -= 1 |
| 26 | if not to_load: |
| 27 | break |
| 28 | |
| 29 | def next_test(self, test): |
| 30 | assert False, \ |