What's Changed
Full Changelog: 1.11.0...1.11.1
Changes in testgres code
- [#240] Using of
node.psqlwith other host and port in #242 - [#249] Fix of port number leak in
NodeBackup::spawn_replicain #250 - [Refactoring] Default port manager functions now use
PortManager__GenericandLocalOperationsin #251 - [#244]
PostgresNodenow usesos_opsonly in #245 LocalOperations::get_single_instanceis added in #252- New
OsOperationsmethods:makedir,rmdirin #253 OsOperations::get_tempdir()is added in #254- [#256] Port number 65535 is valid for using in #268
- [#264] New property
PostgresNode::port_managerin #269 PortManager__Generic sends debugmessages "port is reserved/released" in #270- [#266]
OsOperations::build_pathis added in #273 - A support of
cwdparameter is added toOsOperations::exec_commandin #272 - [#274] Unused
should_rm_dirsis deleted (cleanup) in #275 - [python v3.13]
TestTestgresCommon::test_logginguseslogging._lockin #276 NodeAppis 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_freein #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_nodeis corrected in #246 - Releasing of reserved port in tests in #248
- [#235]
test_pg_ctl_wait_optiondetects 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.