Skip to content

CI: run the pgbench TAP tests - #2258

Open
tuhaihe wants to merge 2 commits into
apache:mainfrom
tuhaihe:ci-pgbench
Open

tuhaihe wants to merge 2 commits into
apache:mainfrom
tuhaihe:ci-pgbench

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Nov 6, 2026

Copy link
Copy Markdown
Member

CI does not run the TAP tests in src/bin/pgbench, so nobody sees when pgbench breaks.

Add an ic-pgbench 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

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


CI does not run the TAP tests in src/bin/pgbench, so nobody sees when
pgbench breaks.

Add an ic-pgbench test job that runs them on Rocky 8, 9 and 10.

Assisted-by: Claude Code
The REL_16_9 merge moved the handler of the Cloudberry option
--use-non-unique-keys to case 16, because PostgreSQL 15 added
--failures-detailed with code 13.  But the long option entry still has
code 13.

So --use-non-unique-keys does the same as --failures-detailed:
- With -i, pgbench fails with "some of the specified options cannot be
  used in initialization (-i) mode", and does not create the tables.
- Without -i, the option enables detailed failure reports, and the
  keys stay unique.

Give the option code 16, the same as its handler.

Assisted-by: Claude Code

@leborchuk leborchuk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, well, let's test pgbench too )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants