From bda7a7443ef44ffb6961b6a98077d0c0ee9c0980 Mon Sep 17 00:00:00 2001 From: Nils Mueller Date: Tue, 10 May 2022 18:30:11 +0200 Subject: [PATCH] Increase logical_poll_total_seconds for Postgres e2e tests Postgres sometimes takes some time until it will start sending the log stream. The current timeout of 3 seconds would cause 80% of my test runs to fail as the sync would end before Postgres starts streaming. --- tests/end_to_end/test-project/tap_postgres_to_sf.yml.template | 2 +- .../tap_postgres_to_sf_archive_load_files.yml.template | 2 +- .../tap_postgres_to_sf_split_large_files.yml.template | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/end_to_end/test-project/tap_postgres_to_sf.yml.template b/tests/end_to_end/test-project/tap_postgres_to_sf.yml.template index 4705983c9..acbdf99f3 100644 --- a/tests/end_to_end/test-project/tap_postgres_to_sf.yml.template +++ b/tests/end_to_end/test-project/tap_postgres_to_sf.yml.template @@ -14,7 +14,7 @@ owner: "test-runner" # ------------------------------------------------------------------------------ db_conn: host: "${TAP_POSTGRES_HOST}" # PostgreSQL host - logical_poll_total_seconds: 3 # Time out if no LOG_BASED changes received for 3 seconds + logical_poll_total_seconds: 10 # Time out if no LOG_BASED changes received for 10 seconds port: ${TAP_POSTGRES_PORT} # PostgreSQL port user: "${TAP_POSTGRES_USER}" # PostgreSQL user password: "${TAP_POSTGRES_PASSWORD}" # Plain string or vault encrypted diff --git a/tests/end_to_end/test-project/tap_postgres_to_sf_archive_load_files.yml.template b/tests/end_to_end/test-project/tap_postgres_to_sf_archive_load_files.yml.template index bc07f32a8..c40334bfc 100644 --- a/tests/end_to_end/test-project/tap_postgres_to_sf_archive_load_files.yml.template +++ b/tests/end_to_end/test-project/tap_postgres_to_sf_archive_load_files.yml.template @@ -14,7 +14,7 @@ owner: "test-runner" # ------------------------------------------------------------------------------ db_conn: host: "${TAP_POSTGRES_HOST}" # PostgreSQL host - logical_poll_total_seconds: 3 # Time out if no LOG_BASED changes received for 3 seconds + logical_poll_total_seconds: 10 # Time out if no LOG_BASED changes received for 10 seconds port: ${TAP_POSTGRES_PORT} # PostgreSQL port user: "${TAP_POSTGRES_USER}" # PostgreSQL user password: "${TAP_POSTGRES_PASSWORD}" # Plain string or vault encrypted diff --git a/tests/end_to_end/test-project/tap_postgres_to_sf_split_large_files.yml.template b/tests/end_to_end/test-project/tap_postgres_to_sf_split_large_files.yml.template index 3a673f31e..0af28db2b 100644 --- a/tests/end_to_end/test-project/tap_postgres_to_sf_split_large_files.yml.template +++ b/tests/end_to_end/test-project/tap_postgres_to_sf_split_large_files.yml.template @@ -14,7 +14,7 @@ owner: "test-runner" # ------------------------------------------------------------------------------ db_conn: host: "${TAP_POSTGRES_HOST}" # PostgreSQL host - logical_poll_total_seconds: 3 # Time out if no LOG_BASED changes received for 3 seconds + logical_poll_total_seconds: 10 # Time out if no LOG_BASED changes received for 10 seconds port: ${TAP_POSTGRES_PORT} # PostgreSQL port user: "${TAP_POSTGRES_USER}" # PostgreSQL user password: "${TAP_POSTGRES_PASSWORD}" # Plain string or vault encrypted