You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/tokio/topics/testing.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ async fn paused_time() {
41
41
}
42
42
```
43
43
44
+
Keep in mind that the `start_paused` attribute requires the tokio feature `test-util`.
44
45
See [tokio::test "Configure the runtime to start with time paused"](https://docs.rs/tokio/latest/tokio/attr.test.html#configure-the-runtime-to-start-with-time-paused) for more details.
45
46
46
47
Of course, the temporal order of future resolution is maintained, even when
0 commit comments