From 0e66acf8fd8e9cdbdfd6738565fd14d07959778c Mon Sep 17 00:00:00 2001 From: svariant Date: Fri, 29 Nov 2024 14:18:28 +0100 Subject: [PATCH 1/5] fix: Performance test postgres conn string --- .devops/performance-test-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devops/performance-test-pipelines.yml b/.devops/performance-test-pipelines.yml index f0bd860..08282cf 100644 --- a/.devops/performance-test-pipelines.yml +++ b/.devops/performance-test-pipelines.yml @@ -22,12 +22,12 @@ variables: poolImage: "pagopa-dev-loadtest-linux" PG_GPD_PASSWORD: "$(DEV_PG_GPD_PASSWORD)" PG_GPD_USERNAME: "$(DEV_PG_GPD_USER)" - INGESTION_EVENTHUB_CONN_STRING: "${DEV_INGESTION_EVENTHUB_CONN_STRING}" + INGESTION_EVENTHUB_CONN_STRING: "$(DEV_INGESTION_EVENTHUB_CONN_STRING)" ${{ if eq(parameters['ENVIRONMENT'], 'uat') }}: poolImage: "pagopa-uat-loadtest-linux" PG_GPD_PASSWORD: "$(UAT_PG_GPD_PASSWORD)" PG_GPD_USERNAME: "$(UAT_PG_GPD_USER)" - INGESTION_EVENTHUB_CONN_STRING: "${UAT_INGESTION_EVENTHUB_CONN_STRING}" + INGESTION_EVENTHUB_CONN_STRING: "$(UAT_INGESTION_EVENTHUB_CONN_STRING)" pool: name: $(poolImage) From c0263ff87a179e0d75ac1023d6fdb7fb0081430e Mon Sep 17 00:00:00 2001 From: svariant Date: Fri, 29 Nov 2024 14:21:09 +0100 Subject: [PATCH 2/5] try echo conn string --- .devops/performance-test-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devops/performance-test-pipelines.yml b/.devops/performance-test-pipelines.yml index 08282cf..5a9f133 100644 --- a/.devops/performance-test-pipelines.yml +++ b/.devops/performance-test-pipelines.yml @@ -35,8 +35,9 @@ pool: steps: - script: | cd ./test-utils + echo ${INGESTION_EVENTHUB_CONN_STRING} chmod +x ./run_compose.sh - ./run_compose.sh "${INGESTION_EVENTHUB_CONN_STRING}" "gpd-ingestion.apd.payment_position,cdc-raw-auto.apd.payment_position" + ./run_compose.sh ${INGESTION_EVENTHUB_CONN_STRING} "gpd-ingestion.apd.payment_position,cdc-raw-auto.apd.payment_position" displayName: Run Redis and javascript consumer env: INGESTION_EVENTHUB_CONN_STRING: ${{ variables.INGESTION_EVENTHUB_CONN_STRING }} From 28be4b3a4d42e249d0915189c5c2f611455e0506 Mon Sep 17 00:00:00 2001 From: svariant Date: Fri, 29 Nov 2024 14:22:14 +0100 Subject: [PATCH 3/5] fix: Remove echo --- .devops/performance-test-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.devops/performance-test-pipelines.yml b/.devops/performance-test-pipelines.yml index 5a9f133..5bb0540 100644 --- a/.devops/performance-test-pipelines.yml +++ b/.devops/performance-test-pipelines.yml @@ -35,7 +35,6 @@ pool: steps: - script: | cd ./test-utils - echo ${INGESTION_EVENTHUB_CONN_STRING} chmod +x ./run_compose.sh ./run_compose.sh ${INGESTION_EVENTHUB_CONN_STRING} "gpd-ingestion.apd.payment_position,cdc-raw-auto.apd.payment_position" displayName: Run Redis and javascript consumer From 9e6bf161e4f5f8c48984acc419b558bab716c23e Mon Sep 17 00:00:00 2001 From: svariant Date: Fri, 29 Nov 2024 14:28:28 +0100 Subject: [PATCH 4/5] feat: Increase maximum timeout azure pipeline --- .devops/performance-test-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.devops/performance-test-pipelines.yml b/.devops/performance-test-pipelines.yml index 5bb0540..841820d 100644 --- a/.devops/performance-test-pipelines.yml +++ b/.devops/performance-test-pipelines.yml @@ -62,6 +62,7 @@ steps: displayName: Wait for timeout env: TIMEOUT: ${{ parameters.TIMEOUT }} + timeoutInMinutes: 10 - script: | cd ./performance-test/src From dcc34f0d5d1a10ad0e079112c514b7f4eb784f08 Mon Sep 17 00:00:00 2001 From: svariant Date: Fri, 29 Nov 2024 14:30:48 +0100 Subject: [PATCH 5/5] removed maximum timeout - the default is already 60 minutes --- .devops/performance-test-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.devops/performance-test-pipelines.yml b/.devops/performance-test-pipelines.yml index 841820d..5bb0540 100644 --- a/.devops/performance-test-pipelines.yml +++ b/.devops/performance-test-pipelines.yml @@ -62,7 +62,6 @@ steps: displayName: Wait for timeout env: TIMEOUT: ${{ parameters.TIMEOUT }} - timeoutInMinutes: 10 - script: | cd ./performance-test/src