MCPcopy Index your code
hub / github.com/Tong89/smartNode / bad_worker

Method bad_worker

tests/test_concurrency.py:324–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322 errors.append(exc)
323
324 def bad_worker():
325 barrier.wait()
326 for _ in range(5):
327 try:
328 results.append(isolated_engine.submit_request(dict(bad)))
329 except Exception as exc:
330 errors.append(exc)
331
332 threads = (
333 [threading.Thread(target=good_worker) for _ in range(2)]

Callers

nothing calls this directly

Calls 2

appendMethod · 0.80
submit_requestMethod · 0.80

Tested by

no test coverage detected