Closed
Description
The following code hangs on the tokio sleep:
#[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();
}
Metadata
Metadata
Assignees
Labels
No labels