skupper icon indicating copy to clipboard operation
skupper copied to clipboard

Adapt performance test TestPostgres for ARM

Open hash-d opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

TestPostgres uses the image registry.access.redhat.com/rhscl/postgresql-95-rhel7, which is not available for ARM.

A simple change to an equivalent official DockerHub image such as postgres:9.5 does not work. The initContainer fails with an error:

pgbench: error: connection to server at "postgres-server" (172.20.131.56), port 5432 failed: FATAL:  role "admin" does not exist
pgbench: error: could not create connection for initialization

Describe the solution you'd like

The test needs to be adapted to a new Postgres image (perhaps even updating its version, as the current latest version is 16, and the original 9.5.0 is eight years old [1]), that supports the ARM architecture.

Describe alternatives you've considered

I tried the simple image mentioned above, and incurred in the error listed above as well. I only started trying to adapt it, but I think that will take more time than I have right now, so I'm recording this as an issue to be worked later.

Additional context N/A

[1] https://www.postgresql.org/docs/release/9.5.0/

hash-d avatar Sep 10 '24 18:09 hash-d