(binary, work)
| 521 | |
| 522 | |
| 523 | def section_cold_storm(binary, work): |
| 524 | cache = section_dirs(work, "storm") |
| 525 | results = _parallel_one_shots(binary, cache, 6) |
| 526 | for index, result in enumerate(results): |
| 527 | if result is None or result.returncode != 0: |
| 528 | print("RED: cold-storm client %d failed (racing daemon spawn):\n%s" |
| 529 | % (index, excerpt(out_text(result)) if result else "(no result)")) |
| 530 | return False |
| 531 | if not wait_status_not_running(binary, cache, 90): |
| 532 | print("RED: the ephemeral daemon shared by the cold storm never retired") |
| 533 | return False |
| 534 | print("PASS: 6 racing cold clients all succeeded and the shared ephemeral daemon retired") |
| 535 | return True |
| 536 | |
| 537 | |
| 538 | def main(): |
nothing calls this directly
no test coverage detected