Skip to content

Be confident about pg_tde not existing in tests #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

AndersAstrand
Copy link
Collaborator

We no longer run theses tests when pg_tde is turned on globally.

There is no reason for us to CREATE IF NOT EXISTS in tests as we should know what state the database is in when running them.

@codecov-commenter
Copy link

codecov-commenter commented Jun 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.66%. Comparing base (ceff90e) to head (5414a99).

❌ Your project status has failed because the head coverage (84.66%) 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     #431   +/-   ##
==================================================
  Coverage              84.65%   84.66%           
==================================================
  Files                     21       21           
  Lines                   2588     2589    +1     
  Branches                 401      402    +1     
==================================================
+ Hits                    2191     2192    +1     
  Misses                   316      316           
  Partials                  81       81           
Components Coverage Δ
access 81.11% <ø> (ø)
catalog 88.22% <ø> (ø)
common 77.77% <ø> (ø)
encryption 73.45% <ø> (ø)
keyring 72.88% <ø> (ø)
src 91.44% <ø> (ø)
smgr 94.88% <ø> (+0.02%) ⬆️
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

We no longer run these tests when pg_tde is turned on globally.

There is no reason for us to CREATE IF NOT EXISTS in tests as we should
_know_ what state the database is in when running them.
@AndersAstrand AndersAstrand force-pushed the tde/be-confident-about-state-in-tests branch from 2133b2b to 5414a99 Compare June 13, 2025 13:35
@AndersAstrand AndersAstrand merged commit 7082cf8 into percona:TDE_REL_17_STABLE Jun 14, 2025
17 checks passed
@AndersAstrand AndersAstrand deleted the tde/be-confident-about-state-in-tests branch June 14, 2025 11:43
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