Commit 94fa9c4
fix(test): fix flaky
## Summary
- Replace `read_until(b' ')` with `read_until(b'\n')` in the
`write_interactive_prompt` PTY test
- On Windows ConPTY, `read_until(b' ')` can hang indefinitely, causing
flaky CI failures (e.g. [run
#23833764481](https://github.com/voidzero-dev/vite-task/actions/runs/23833764481/job/69473019642))
## Test plan
- [x] `cargo test -p pty_terminal --test terminal` passes locally
- [ ] Windows CI passes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>write_interactive_prompt on Windows ConPTY (#318)1 parent eb746ad commit 94fa9c4
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
155 | | - | |
| 158 | + | |
156 | 159 | | |
157 | 160 | | |
158 | | - | |
159 | | - | |
160 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
161 | 164 | | |
162 | 165 | | |
163 | 166 | | |
| |||
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
171 | | - | |
| 174 | + | |
172 | 175 | | |
173 | 176 | | |
174 | 177 | | |
| |||
0 commit comments