aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-executor/tests/test.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-executor/tests/test.rs b/embassy-executor/tests/test.rs
index 78c49c071..d8c5a6ae3 100644
--- a/embassy-executor/tests/test.rs
+++ b/embassy-executor/tests/test.rs
@@ -69,6 +69,7 @@ fn executor_task() {
69 &[ 69 &[
70 "pend", // spawning a task pends the executor 70 "pend", // spawning a task pends the executor
71 "poll task1", // poll only once. 71 "poll task1", // poll only once.
72 "pend", // task is done, wakes itself to exit
72 ] 73 ]
73 ) 74 )
74} 75}
@@ -179,6 +180,7 @@ fn waking_after_completion_does_not_poll() {
179 "pend", // manual wake, single pend for two wakes 180 "pend", // manual wake, single pend for two wakes
180 "pend", // respawning a task pends the executor 181 "pend", // respawning a task pends the executor
181 "poll task1", // 182 "poll task1", //
183 "pend", // task is done, wakes itself to exit
182 ] 184 ]
183 ) 185 )
184} 186}
@@ -266,6 +268,7 @@ fn waking_with_old_waker_after_respawn() {
266 "yield_now", // 268 "yield_now", //
267 "pend", // manual wake, gets cleared by poll 269 "pend", // manual wake, gets cleared by poll
268 "poll task1", // 270 "poll task1", //
271 "pend", // task is done, wakes itself to exit
269 ] 272 ]
270 ); 273 );
271} 274}