(pd, seg)
| 69 | |
| 70 | |
| 71 | def test_cleanup_running(pd, seg): |
| 72 | pd.create(seg) |
| 73 | assert pd.is_running(seg) |
| 74 | |
| 75 | nxt = next(seg.future_segment_stream()) |
| 76 | pd.clear_except([nxt]) |
| 77 | assert not pd.is_running(seg) |
| 78 | |
| 79 | |
| 80 | def test_cleanup_promoted(pd, seg): |
nothing calls this directly
no test coverage detected