(n)
| 102 | errors = [] |
| 103 | |
| 104 | def worker(n): |
| 105 | try: |
| 106 | for i in range(50): |
| 107 | self.cache._put(_make_pod("default", "pod-{}-{}".format(n, i))) |
| 108 | except Exception as exc: |
| 109 | errors.append(exc) |
| 110 | |
| 111 | threads = [threading.Thread(target=worker, args=(t,)) for t in range(5)] |
| 112 | for t in threads: |