Skip to content

Conversation

@jeltz
Copy link
Collaborator

@jeltz jeltz commented Apr 25, 2025

This PR makes sure the normal test actions runs PostgreSQL's tests plus our pg_tde tests while the actions which runs the tests with the global configuration sets the TDE_MODE environment variable which disables the pg_tde test suite plus a couple of PostgreSQL's tests which are broken with pg_tde enabled.

In addition I noticed when trying to implement this that our Meson vs make actions had diverged so tried to harmonize them so they have the same features and similar code.

Question: since Meson supports skipping test suites with --no-suite I did not add skipping of the pg_tde tests to meson.build. Right? Wrong?

jeltz added 4 commits April 26, 2025 00:01
The meson and the make scripts had diverged a lot, so this commit fixes
that plus some other inconsistencies.
The TDE_MODE environment variable disables tests we actually want to run
in our Github Actions. This change is also necessary to in a future
commit disable the pg_tde tests in the global TDE mode.
The purpose of the global TDE mode is to run PostgreSQL's normal test
suite but with our extension so running the pg_tde test suite when in
that mode makes no sense.

Meson supports disabling test suites with --no-suite so we only need to
do this for the Makefile.
Now that we no longer run the pg_tde suite in the global TDE mode we can
remove all the code which was there to support it.
@jeltz jeltz requested review from dAdAbird and dutow as code owners April 25, 2025 22:08
@jeltz jeltz changed the title Disable pg_tde tests when running full test suite with a global TDE config plus clean up GitHub scripts Disable pg_tde tests when running full test suite with a global TDE config plus clean up Github scripts Apr 25, 2025
@jeltz jeltz changed the title Disable pg_tde tests when running full test suite with a global TDE config plus clean up Github scripts Disable pg_tde tests when running full test suite with a global TDE config plus clean up Github scripts Apr 25, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.34%. Comparing base (e355f38) to head (2f47800).

❌ Your project status has failed because the head coverage (78.34%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@                Coverage Diff                 @@
##           TDE_REL_17_STABLE     #268   +/-   ##
==================================================
  Coverage              78.34%   78.34%           
==================================================
  Files                     22       22           
  Lines                   2484     2484           
  Branches                 391      391           
==================================================
  Hits                    1946     1946           
  Misses                   462      462           
  Partials                  76       76           
Components Coverage Δ
access 79.35% <ø> (ø)
catalog 86.23% <ø> (ø)
common 92.50% <ø> (ø)
encryption 71.90% <ø> (ø)
keyring 72.07% <ø> (ø)
src 53.79% <ø> (ø)
smgr 98.01% <ø> (ø)
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeltz jeltz merged commit 6a1e1b6 into percona:TDE_REL_17_STABLE Apr 28, 2025
15 checks passed
@jeltz jeltz deleted the tde/clean-github-scripts branch April 28, 2025 08:16
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.

3 participants