Skip to content

PGPRO-5983: fix Perl tests due to changes in PostgreSQL 15devel #15

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

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

MarinaPolyakova
Copy link
Contributor

@MarinaPolyakova MarinaPolyakova commented Dec 8, 2021

The standard PostgreSQL Perl modules for testing have been moved and some have
been renamed. Try to maintain both old and new modules by checking if we can
load new modules and loading the necessary modules at compile time. We cannot
load these modules at runtime because they can have INIT blocks.

Also use Perl's 'eval' function to call functions from these modules so we don't
get compilation errors due to conditionally loading modules.

@codecov
Copy link

codecov bot commented Dec 8, 2021

Codecov Report

Merging #15 (257423c) into master (b5d2c58) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #15   +/-   ##
=======================================
  Coverage   88.55%   88.55%           
=======================================
  Files           2        2           
  Lines         428      428           
=======================================
  Hits          379      379           
  Misses         49       49           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5d2c58...257423c. Read the comment docs.

The standard PostgreSQL Perl modules for testing have been moved and some have
been renamed. Try to maintain both old and new modules by checking if we can
load new modules and loading the necessary modules at compile time. We cannot
load these modules at runtime because they can have INIT blocks.

Also use Perl's 'eval' function to call functions from these modules so we don't
get compilation errors due to conditionally loading modules.
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