diff options
Diffstat (limited to 'tokio/tests/time_sleep.rs')
-rw-r--r-- | tokio/tests/time_sleep.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tokio/tests/time_sleep.rs b/tokio/tests/time_sleep.rs index 87d69dee..955d833b 100644 --- a/tokio/tests/time_sleep.rs +++ b/tokio/tests/time_sleep.rs @@ -182,6 +182,7 @@ const MAX_DURATION: u64 = (1 << (6 * NUM_LEVELS)) - 1; #[tokio::test] async fn exactly_max() { // TODO: this should not panic but `time::ms()` is acting up + // If fixed, make sure to update documentation on `time::sleep` too. time::sleep(ms(MAX_DURATION)).await; } |