Skip to content

Commit

Permalink
fix: try to fix unstable fuzz test (#4003)
Browse files Browse the repository at this point in the history
fix: ignore PoolTimedOut
  • Loading branch information
WenyXu committed May 21, 2024
1 parent 56aed6e commit 43bf7bf
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 43bf7bf

Please sign in to comment.