(topology)
| 220 | |
| 221 | |
| 222 | def print_running_topology(topology): |
| 223 | running = [e for e in _get_executors(topology) if not e._stopped] |
| 224 | if running: |
| 225 | print( |
| 226 | "WARNING: found Topology with running threads:\n" |
| 227 | f" Threads: {running}\n" |
| 228 | f" Topology: {topology}\n" |
| 229 | f" Creation traceback:\n{topology._settings._stack}" |
| 230 | ) |
| 231 | |
| 232 | |
| 233 | def test_cases(suite): |
no test coverage detected