diff --git a/fang/src/asynk/async_queue.rs b/fang/src/asynk/async_queue.rs index 472eddc5..f6d2ab98 100644 --- a/fang/src/asynk/async_queue.rs +++ b/fang/src/asynk/async_queue.rs @@ -158,6 +158,9 @@ static ASYNC_QUEUE_POSTGRES_TEST_COUNTER: Mutex = Mutex::const_new(0); #[cfg(test)] static ASYNC_QUEUE_SQLITE_TEST_COUNTER: Mutex = Mutex::const_new(0); +#[cfg(test)] +static ASYNC_QUEUE_MYSQL_TEST_COUNTER: Mutex = Mutex::const_new(0); + #[cfg(test)] use sqlx::Executor; @@ -260,7 +263,7 @@ impl AsyncQueue { .uri(format!("{}/{}", base_url, base_db)) .build(); - let mut new_number = ASYNC_QUEUE_POSTGRES_TEST_COUNTER.lock().await; + let mut new_number = ASYNC_QUEUE_MYSQL_TEST_COUNTER.lock().await; res.connect().await.unwrap(); let db_name = format!("async_queue_test_{}", *new_number);