Testing framework for PostgreSQL and its extensions
OTHER License
Bot releases are hidden (Show)
Full Changelog: https://github.com/postgrespro/testgres/compare/1.9.3...1.10.0
Published by asavchkov 10 months ago
Published by demonolock 12 months ago
Published by demonolock about 1 year ago
Published by demonolock about 1 year ago
LocalOperations
class. Remote commands are now housed in the RemoteOperations
class. The class is selected depending on the parameters passed to PostgresNode
.Published by demonolock about 1 year ago
Published by demonolock about 1 year ago
Published by kulaginm over 2 years ago
.
Published by arssher almost 4 years ago
And revert cdc933ff4af.
Published by arssher almost 5 years ago
Published by funbringer over 6 years ago
Small fix: PostgresNode.safe_psql()
now raises error on wrong input (issue #52).
Published by funbringer over 6 years ago
Small fix: make NodeBackup
aware of inheritors of PostgresNode
.
Published by funbringer over 6 years ago
suppress
option to PostgresNode.poll_query_until()
(PR #51);format
option to PostgresNode.dump()
(PR #32);promote()
method to PostgresNode
(PR #47);version
property to PostgresNode
(PR #49);Published by funbringer over 6 years ago
wait
option to PostgresNode.start()
(PR #45);PostgresNode.reload()
now returns self
;Published by funbringer over 6 years ago
New dependency: psutil
;
New properties:
child_processes
- list of ProcessProxy
objects representing PostgreSQL processes,auxiliary_processes
- subset of child_processes
, represents auxiliary processes (e.g. autovacuum
),auxiliary_pids
- dict of { ProcessType : PID }
pairs,source_walsender
- available on replica: represents master's walsender
;New context manager scoped_config()
: temporary change GlobalConfig
;
Testgres is able to provide unique system ids for cached instances (see #35);
Temp dirs use tgs_
as prefix;
pgbench
API (see pgbench_run()
etc);allow_streaming=True
in init()
and default_conf()
by default;unix_sockets=True
in init()
and default_conf()
;base_dir
ignore if provided base_dir
does not exist (#31);StartNodeException
now includes last N lines of postgresql.log
;six.raise_from
);PostgresNode
(see generate_app_name
);execute()
, psql()
, safe_psql()
and poll_query_until()
methods (see positional_args_hack
);Published by funbringer almost 7 years ago
apply --auth-local
and --auth-host
params passed to initdb
in PostgresNode.init()
;
Published by funbringer almost 7 years ago
max_attempts=0
(infinite) by default in poll_query_until()
;enum34
on python 3.4+.