From c916df69ad6ac3c20b60b87850eaca09f57c4bab Mon Sep 17 00:00:00 2001 From: Anmol Virdi <67299745+AnmolVirdi@users.noreply.github.com> Date: Tue, 17 Oct 2023 23:43:20 +0530 Subject: [PATCH] Reduced scale factor for pgbench (#373) Signed-off-by: Anmol Virdi --- community_images/postgresql/bitnami/dc_coverage.sh | 2 +- community_images/postgresql/bitnami/docker_coverage.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/community_images/postgresql/bitnami/dc_coverage.sh b/community_images/postgresql/bitnami/dc_coverage.sh index dd52e0a1fe..576d1aa11f 100755 --- a/community_images/postgresql/bitnami/dc_coverage.sh +++ b/community_images/postgresql/bitnami/dc_coverage.sh @@ -18,4 +18,4 @@ PG_CONTAINER="${PROJECT_NAME}"-postgresql-master-1 #PG_PORT=$(docker inspect "${PG_CONTAINER}" | jq -r ".[].NetworkSettings.Ports.\"5432/tcp\"[0].HostPort") # run pgbench test -docker exec -i "${PG_CONTAINER}" pgbench --host localhost -U postgres -d postgres -p 5432 -i -s 50 \ No newline at end of file +docker exec -i "${PG_CONTAINER}" pgbench --host localhost -U postgres -d postgres -p 5432 -i -s 25 \ No newline at end of file diff --git a/community_images/postgresql/bitnami/docker_coverage.sh b/community_images/postgresql/bitnami/docker_coverage.sh index d7674d260f..e083ca606e 100755 --- a/community_images/postgresql/bitnami/docker_coverage.sh +++ b/community_images/postgresql/bitnami/docker_coverage.sh @@ -15,4 +15,4 @@ PG_HOST=$(jq -r '.container_details.postgresql.ip_address' < "$JSON_PARAMS") # run test on docker container docker run --rm --network="${NETWORK_NAME}" \ -i --env="PGPASSWORD=PgPwd" rapidfort/postgresql:latest \ - -- pgbench --host "${PG_HOST}" -U postgres -d postgres -p 5432 -i -s 50 + -- pgbench --host "${PG_HOST}" -U postgres -d postgres -p 5432 -i -s 25