Commit 9af80ff
committed
mctp-estack: Add StepExecutor for testing
This is a specialised executor to run async futures with more control.
Can be used to partially run a future such as recv(), then adjust
the clock before proceeding, when testing timeouts.
Signed-off-by: Matt Johnston <[email protected]>1 parent 06fcd49 commit 9af80ff
File tree
3 files changed
+693
-0
lines changed- mctp-estack
- tests
3 files changed
+693
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments