Commit 1e24598
test: Don't sleep before sending data to bash
pexpect has a default delay before sending data, to let applications
turn off TTY echo for example, see
https://pexpect.readthedocs.io/en/stable/commonissues.html?highlight=delaybeforesend#timing-issue-with-send-and-sendline
We don't need this for basically all of our tests, and setting
delaybeforesend to 0 makes running the unit tests around 90% faster,
from 3m18s to 16s on my machine.
In GHA CI, a full run moved from ~22m to ~6m1 parent acdf6b3 commit 1e24598
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
275 | 278 | | |
276 | 279 | | |
277 | 280 | | |
| |||
0 commit comments