Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
test: keep partial socket lines across e2e read timeouts (sweep) (#3282)
The pa-daemon e2e helpers poll the daemon socket with a short read timeout in a retry loop and either clear the line buffer at the top of every iteration or re-create it inside the loop. BufRead::read_line keeps the bytes that arrived before the timeout fires and returns Err, so the next iteration discarded the first half of the line and parsed only the tail. Same fix as #3281, swept over the remaining helpers: clear the buffer only after a complete line was consumed, so the fresh-per-iteration buffer in the drain loops moves out of the loop instead. Deadlines and messages are unchanged.
Author Sebastian Müller Committer GitHub Date (Oct 1, 2026, 10:05 PM UTC) Commit
Copy SHA
Parent 5075d7b4 5075d7b415c1086dff5e8c9fe9e0562c7c2353d1