acceptance: acceptance tests should download prebuilt Docker images, not build them at test time #81405
Labels
A-testing
Testing tools and infrastructure
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-testeng
TestEng Team
Last week the
acceptance
testTestComposeGSSPython
started failing with the following error:This is because the
postgresql-client
apt
package was updated to pull in a new version ofpostgres
, including this change. With #81313 I worked around this by manually pulling in an older version ofpostgresql-client
(postgresql-client-11
) that does not have this behavior. This is a temporary workaround that doesn't actually address the root cause of the issue, which is that buildingdocker
images at test time may result in a test environment that we have never tested before and which is not guaranteed to actually work.Instead we should build these
docker
images once and reference them via tag, as is typically done withdocker
. This will ensure that our test environments don't suddenly change under us.Jira issue: CRDB-15204
The text was updated successfully, but these errors were encountered: