Skip to content

Commit

Permalink
Increasing Test_TerraformRecipe_KubernetesPostgres timeout to 2m (#…
Browse files Browse the repository at this point in the history
…7772)

# Description

The long-running tests seem to be failing due to a timeout on the
`Test_TerraformRecipe_KubernetesPostgres` test. Increasing the timeout
might resolve the issue.

* Increased timeout from 50s to 120s

<img width="1006" alt="image"
src="https://github.com/user-attachments/assets/70e3077f-c2bb-4be2-8f51-125d96a1141d">


## Type of change

- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

Signed-off-by: willdavsmith <[email protected]>
  • Loading branch information
willdavsmith authored Jul 29, 2024
1 parent 1c7b3ea commit 93ddbdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/testrecipes/test-terraform-recipes/postgres/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ resource "kubernetes_service" "postgres" {
}
}

resource "time_sleep" "wait_50_seconds" {
resource "time_sleep" "wait_120_seconds" {
depends_on = [kubernetes_service.postgres]
create_duration = "50s"
create_duration = "120s"
}

resource postgresql_database "pg_db_test" {
provider = postgresql.pgdb-test
depends_on = [time_sleep.wait_50_seconds]
depends_on = [time_sleep.wait_120_seconds]
name = "pg_db_test"
}

0 comments on commit 93ddbdb

Please sign in to comment.