Commit bab16ca
committed
ExternalConsoleDriver: fix flaky txchunk test
The txchunk test case added in [1] seems to fail occasionally.
Fix this this flaky behavior by adding delays between writing and
reading bytes, similar to what was being done in the `test_communicate`
function added in commit [2].
[1] 5eb9316 ("driver: introduce txchunk argument for console drivers")
[2] 69d5c69 ("ExternalConsoleDriver: Add a ConsoleDriver for existing console tools")
Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>1 parent bfb6ff2 commit bab16ca
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
0 commit comments