From 6ca421d175c19f4f08d183470b66bc730cbd2f39 Mon Sep 17 00:00:00 2001 From: Dragomir Penev Date: Sat, 11 Nov 2023 23:53:00 +0200 Subject: [PATCH] Bump timeouts --- .github/workflows/ci.yaml | 4 ++-- tests/integration/helpers.py | 2 +- tests/integration/test_db.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1f266b7d0f..384f6ae141 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -47,7 +47,7 @@ jobs: actions: write # Needed to manage GitHub Actions cache integration-test-juju3: - name: Integration test charm on Juju 3 + name: Integration tests on Juju 3 needs: - build - lint @@ -67,7 +67,7 @@ jobs: } integration-test-juju2: - name: Integration test charm on Juju 2 + name: Integration tests on Juju 2 needs: - build - lint diff --git a/tests/integration/helpers.py b/tests/integration/helpers.py index c0bb00cae4..9c15df7eb3 100644 --- a/tests/integration/helpers.py +++ b/tests/integration/helpers.py @@ -410,7 +410,7 @@ async def deploy_and_relate_bundle_with_postgresql( apps=[main_application_name], raise_on_blocked=False, status=status, - timeout=1500, + timeout=2000, ), ] if status_message: diff --git a/tests/integration/test_db.py b/tests/integration/test_db.py index 8f5b39db41..a258160aa4 100644 --- a/tests/integration/test_db.py +++ b/tests/integration/test_db.py @@ -108,7 +108,7 @@ async def test_relation_data_is_updated_correctly_when_scaling(ops_test: OpsTest # Add two more units. await ops_test.model.applications[DATABASE_APP_NAME].add_units(2) await ops_test.model.wait_for_idle( - apps=[DATABASE_APP_NAME], status="active", timeout=1000, wait_for_exact_units=4 + apps=[DATABASE_APP_NAME], status="active", timeout=1500, wait_for_exact_units=4 ) # Remove the original units.