An open API service providing repository metadata for many open source software ecosystems.

GitHub / postgrespro / testgres

Testing framework for PostgreSQL and its extensions

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Ftestgres
PURL: pkg:github/postgrespro/testgres

Stars: 150
Forks: 37
Open issues: 11

License: other
Language: Python
Size: 1.08 MB
Dependencies parsed at: Pending

Created at: about 9 years ago
Updated at: 5 days ago
Pushed at: 5 days ago
Last synced at: 5 days ago

Commit Stats

Commits: 503
Authors: 36
Mean commits per author: 13.97
Development Distribution Score: 0.557
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/postgrespro/testgres

Topics: pathman, postgres, postgresql, replication, testgres, testing

Releases
1.7.0

1.7.0

  • Add wait option to PostgresNode.start() (PR #45);
  • PostgresNode.reload() now returns self;
  • Add support for replication slots (PR #41);
over 7 years ago
Download
1.6.0

1.6.0

  • 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;

over 7 years ago
Download
1.5.0

1.5.0

  • Improved pgbench API (see pgbench_run() etc);
  • Set allow_streaming=True in init() and default_conf() by default;
  • New option unix_sockets=True in init() and default_conf();
  • Fixed base_dir ignore if provided base_dir does not exist (#31);
  • StartNodeException now includes last N lines of postgresql.log;
  • Improved exception handling (using six.raise_from);
  • Auto name generation for PostgresNode (see generate_app_name);
  • Provide compatibility mode for execute(), psql(), safe_psql() and poll_query_until() methods (see positional_args_hack);
over 7 years ago
Download
1.4.1

1.4.1

apply --auth-local and --auth-host params passed to initdb in PostgresNode.init();

almost 8 years ago
Download
1.4.0

1.4.0

  • use max_attempts=0 (infinite) by default in poll_query_until();
  • fix support for utf-8 (non-ascii symbols);
  • improved error handling;
  • don’t install enum34 on python 3.4+.
almost 8 years ago
Download
1.3.0

1.3.0

  • introduced default_conf();
  • don’t remove base_dir if it was provided by user;
almost 8 years ago
Download
1.3.1

1.3.1

  • introduced TestgresConfig;
  • add log_statement='all' parameter to default_conf();
almost 8 years ago
Download
1.3.2

1.3.2

  • bugfix: pass allow_streaming to default_conf();
  • allow using PG_BIN env instead of PG_CONFIG;
almost 8 years ago
Download
1.3.3

1.3.3

  • fix get_control_data();
  • fix default params of default_conf();
  • remove everything on cleanup() by default;
  • remove cached initdb dir by default;
almost 8 years ago
Download
1.3.4

1.3.4

use commit=True by default in PostgresNode.execute()

almost 8 years ago
Download