mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-02-14 20:07:31 +00:00
test: tokio or actix should import tokio in pool_smoke_test
This commit is contained in:
parent
3dc067f031
commit
8800a40979
@ -354,7 +354,7 @@ async fn it_can_work_with_nested_transactions() -> anyhow::Result<()> {
|
||||
#[ignore]
|
||||
#[sqlx_macros::test]
|
||||
async fn pool_smoke_test() -> anyhow::Result<()> {
|
||||
#[cfg(feature = "runtime-tokio")]
|
||||
#[cfg(any(feature = "runtime-tokio", feature = "runtime-actix"))]
|
||||
use tokio::{task::spawn, time::delay_for as sleep, time::timeout};
|
||||
|
||||
#[cfg(feature = "runtime-async-std")]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user