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
#[tokio::test]
async fn test_console_with_tokio_sleep() {
// token is invalid, so exports will fail, but it was a necessary part of reproducing the issue
let shutdown_handler = crate::configure()
.with_token("abc123")
.install_panic_handler()
.finish()
.unwrap();
tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;
shutdown_handler.shutdown().ok();
}
The text was updated successfully, but these errors were encountered:
The following code hangs on the tokio sleep:
The text was updated successfully, but these errors were encountered: