What's Changed
Full Changelog: 1.11.0...1.11.1
Changes in testgres code
- [#240] Using of
node.psql
with other host and port in #242 - [#249] Fix of port number leak in
NodeBackup::spawn_replica
in #250 - [Refactoring] Default port manager functions now use
PortManager__Generic
andLocalOperations
in #251 - [#244]
PostgresNode
now usesos_ops
only in #245 LocalOperations::get_single_instance
is added in #252- New
OsOperations
methods:makedir
,rmdir
in #253 OsOperations::get_tempdir()
is added in #254- [#256] Port number 65535 is valid for using in #268
- [#264] New property
PostgresNode::port_manager
in #269 PortManager__Generic sends debug
messages "port is reserved/released" in #270- [#266]
OsOperations::build_path
is added in #273 - A support of
cwd
parameter is added toOsOperations::exec_command
in #272 - [#274] Unused
should_rm_dirs
is deleted (cleanup) in #275 - [python v3.13]
TestTestgresCommon::test_logging
useslogging._lock
in #276 NodeApp
is refactored in #278- Testgres is tested on python 3.7 now, too in #280
- Remove usage of not standard function nc in
remote_ops.py is_port_free
in #284
Changes in testgres tests
- [FIX] Tests include testgres by right way through import in #241
- Testgres tests create log dir in exact place in #243
- [test]
TestTestgresLocal.test_upgrade_node
is corrected in #246 - Releasing of reserved port in tests in #248
- [#235]
test_pg_ctl_wait_option
detects a port conflict in #257 - Incomplete asserts in are fixed (conftest) in #261
- [tests] Creation of "dummy/empty" log file for xdist controller is fixed in #282
- conftest is updated - ExitStatusNames in #283
Our plans
Split testgres' code
We will move the content of testgres/operations folder into the separated package - testgres.os_ops.
Some exceptions will be moved in separated packages testgres.common, too.
It allows to use these things separately.
This change requires to the internal reorganization of testgres source code - 'testgres' folder will be renamed with 'src'.
Remove testgres.plugins
We will remove testgres.plugins folder with all its content (plugin for pg_probackup2).
Plugin for pg_probackup2 was already moved to the separated package - https://github.com/postgrespro/testgres-pg_probackup2
If you download testgres-pg-probackup2 from github directly, please update your code to avoid any problem in the near future.