Skip to content

Releases: intersystems-community/iris-pgwire

v1.4.1: Test Infrastructure Improvements

13 Feb 01:32

Choose a tag to compare

🧪 Test Infrastructure Improvements

This release improves the development and testing experience by integrating client compatibility tests with iris-devtester fixtures.

✨ New Features

  • Persistent Test Container: New scripts/create_persistent_container.sh for easy container setup
  • Fixture Integration: Client compatibility tests now use pgwire_server fixture (no manual docker-compose)
  • User Provisioning: Added provision_test_user fixture for automatic test_user namespace access
  • Dynamic Configuration: Tests use pgwire_connection_params for dynamic port/credential management

🔧 Improvements

  • Fixed conftest.py to attach to persistent containers instead of creating new ones
  • Tests now start PGWire server automatically on port 5434
  • Removed hardcoded localhost:5432 dependencies
  • Better isolation with per-module test namespaces

📚 Documentation

  • Updated README.md with new container setup workflow
  • Updated client_compatibility/README.md for fixture-based tests
  • Added comprehensive setup guides in docs/
  • Archived resolved iris-devtester bug report

🐛 Fixes

  • Fixed credential handling in test fixtures (uses _SYSTEM for provisioning)
  • Fixed container attachment logic
  • Fixed indentation issues in conftest.py

📦 Requirements

  • Requires iris-devtester >= 1.12.1 (for bug fixes)
  • Python 3.11+

🚀 Quick Start

# Clone and setup
git clone https://github.com/intersystems-community/iris-pgwire.git
cd iris-pgwire
./scripts/create_persistent_container.sh

# Run tests (auto-starts PGWire)
pytest tests/client_compatibility/python/ -v

Full Changelog: v1.4.0...v1.4.1