Skip to content

Commit

Permalink
fix: ignore PoolTimedOut
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed May 21, 2024
1 parent d7ade3c commit 3afdb3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests-fuzz/targets/unstable/fuzz_create_table_standalone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 3afdb3e

Please sign in to comment.