Skip to content

Commit

Permalink
Reduced scale factor for pgbench (#373)
Browse files Browse the repository at this point in the history
Signed-off-by: Anmol Virdi <[email protected]>
  • Loading branch information
AnmolVirdi authored Oct 17, 2023
1 parent e4bd3f0 commit c916df6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion community_images/postgresql/bitnami/dc_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
docker exec -i "${PG_CONTAINER}" pgbench --host localhost -U postgres -d postgres -p 5432 -i -s 25
2 changes: 1 addition & 1 deletion community_images/postgresql/bitnami/docker_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c916df6

Please sign in to comment.