Skip to content

Commit

Permalink
Bump up database retries (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb authored Dec 15, 2023
1 parent 1da27f8 commit 078dae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plane2/tests/common/resources/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn pg_dump_container_config(port: u16) -> Config<String> {
}

async fn attempt_to_connect(connection_string: &str) -> Result<PlaneDatabase> {
for _ in 0..3 {
for _ in 0..30 {
match connect_and_migrate(&connection_string).await {
Ok(db) => return Ok(db),
Err(e) => {
Expand Down

0 comments on commit 078dae8

Please sign in to comment.