Skip to content

Find pg_ctl on PATH in the native cluster test - #111

Open
LucaCappelletti94 wants to merge 1 commit into
mainfrom
fix/harness-pg-ctl-on-path
Open

LucaCappelletti94 wants to merge 1 commit into
mainfrom
fix/harness-pg-ctl-on-path

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Owner

The native cluster test in the test harness looked for the PostgreSQL server programs only where Debian and Ubuntu install them, so on a Mac it failed before starting anything, even with PostgreSQL installed through Homebrew.

The test now takes the directory of the pg_ctl found on PATH and falls back to the newest Debian install when there is none. The CI runners have no pg_ctl on PATH, so they keep using the Debian layout. The test passes on a Mac with Homebrew's PostgreSQL 14 and on Linux through the Debian layout.

@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: LucaCappelletti94/coderabbit/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 19eacca4-b4ad-40c1-8195-13d604fbf955


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.61%. Comparing base (22a0b40) to head (226f875).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   84.64%   84.61%   -0.03%     
==========================================
  Files         131      131              
  Lines       31447    31453       +6     
  Branches    31447    31453       +6     
==========================================
- Hits        26617    26615       -2     
- Misses       3297     3303       +6     
- Partials     1533     1535       +2     
Flag Coverage Δ
client 62.45% <ø> (-0.04%) ⬇️
rest 58.04% <100.00%> (-0.32%) ⬇️
server 52.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant