Skip to content

fix: Use the configured port in the timestamptz test repo - #917

Merged
zachdaniel merged 1 commit into
ash-project:mainfrom
jechol:fix/timestamptz-test-repo-port-261101
Nov 3, 2026
Merged

zachdaniel merged 1 commit into
ash-project:mainfrom
jechol:fix/timestamptz-test-repo-port-261101

Conversation

@jechol

@jechol jechol commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

While running the test suite against an isolated PostgreSQL instance on a non-default port, the three timestamptz datetime toggle tests failed to connect.

TestRepo respects PG_PORT, but TimestamptzToggleRepo omits the port and falls back to 5432. Reuse AshPostgres.TestRepo.config()[:port] so both repos connect to the configured instance.

Verified that the three affected tests pass against PostgreSQL 17 on a non-default port.

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@jechol jechol changed the title Use the configured port in the timestamptz test repo fix: Use the configured port in the timestamptz test repo Nov 3, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T05:31:11.874180Z f39426d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@zachdaniel
zachdaniel merged commit 54ebf2c into ash-project:main Nov 3, 2026
126 checks passed
@zachdaniel

Copy link
Copy Markdown
Contributor

🚀 Thank you for your contribution! 🚀

@jechol
jechol deleted the fix/timestamptz-test-repo-port-261101 branch November 4, 2026 04:18
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