Repository navigation
CI: run the TAP tests of the client scripts - #2259
Conversation
CI does not run the TAP tests in src/bin/scripts, so nobody sees when createdb, dropdb, clusterdb, reindexdb, vacuumdb and the other client programs break. Add them to the ic-tap job, which runs on Rocky 8, 9 and 10. Assisted-by: Claude Code
Five test files in src/bin/scripts fail on Cloudberry: - 011_clusterdb_all, 050_dropdb, 091_reindexdb_all and 101_vacuumdb_all mark a database as invalid with an UPDATE of pg_database. Cloudberry does not allow DML on a system catalog without allow_system_table_mods, so each test stops with "permission denied: "pg_database" is a system catalog". Set the parameter before the UPDATE, as 037_invalid_database in src/test/recovery does. - In 090_reindexdb, PostgreSQL 16 adds --concurrently to the tablespace checks and to the parallel database check. Cloudberry's reindexdb refuses --concurrently and fails with "reindexing a database concurrently is not supported" (fa79ed6), although the server runs REINDEX CONCURRENTLY. Skip these checks, as the file already does for the other --concurrently checks. The checks without --concurrently that run before them still test the same tablespace behavior. Assisted-by: Claude Code
|
Hi @reshke @leborchuk, while checking this PR I looked at why the
So this PR keeps skipping those checks. I have only corrected the comments to say that the client refuses the option. Do you think it is worth lifting the ban in |
Totally
Not to my knowledge |
We quite obviously cannot support RIC/CIC for AO cause of second scan which need to tell for each tuple if this tuple was visible at time CIC snap was taken. |
CI does not run the TAP tests in src/bin/scripts, so nobody sees when createdb, dropdb, clusterdb, reindexdb, vacuumdb and the other client programs break.
Add an ic-scripts test job that runs them on Rocky 8, 9 and 10.
Assisted-by: Claude Code
Fixes #ISSUE_Number
What does this PR do?
Type of Change
Breaking Changes
Test Plan
make installcheckmake -C src/test installcheck-cbdb-parallelImpact
Performance:
User-facing changes:
Dependencies:
Checklist
Additional Context
CI Skip Instructions