From 3afdb3e7a3086fbe156e77f6b31a32ccfef64f54 Mon Sep 17 00:00:00 2001 From: WenyXu Date: Tue, 21 May 2024 08:58:05 +0000 Subject: [PATCH] fix: ignore PoolTimedOut --- tests-fuzz/targets/unstable/fuzz_create_table_standalone.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests-fuzz/targets/unstable/fuzz_create_table_standalone.rs b/tests-fuzz/targets/unstable/fuzz_create_table_standalone.rs index 2cf324076118..ad0a64f7d28c 100644 --- a/tests-fuzz/targets/unstable/fuzz_create_table_standalone.rs +++ b/tests-fuzz/targets/unstable/fuzz_create_table_standalone.rs @@ -144,6 +144,11 @@ async fn execute_unstable_create_table( info!("Create table: {sql}, result: {result:?}"); } Err(err) => { + // FIXME(weny): support to retry it later. + if matches!(err, sqlx::Error::PoolTimedOut { .. }) { + warn!("ignore pool timeout, sql: {sql}"); + continue; + } let state = *rx.borrow(); ensure!( !state.health(),