Fixed test_postgresql.py to include use_slots.

This commit is contained in:
Josh Berkus
2015-09-03 18:41:30 -07:00
parent f2338e074c
commit f5627a498e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ For an example file, see `postgres0.yml`. Below is an explanation of settings:
* *connect_address*: ip address + port through which Postgres is accessible from other nodes and applications.
* *data_dir*: file path to initialize and store Postgres data files
* *maximum_lag_on_failover*: the maximum bytes a follower may lag before it is not eligible become leader
* *use_slots*: whether or not to use replication_slots. Must be False for PostgreSQL 9.3.
* *use_slots*: whether or not to use replication_slots. Must be False for PostgreSQL 9.3, and you should comment out max_replication_slots.
* *pg_hba*: list of lines which should be added to pg_hba.conf
* *- host all all 0.0.0.0/0 md5*
* *replication*
+1
View File
@@ -114,6 +114,7 @@ class TestPostgresql(unittest.TestCase):
'pg_hba': ['hostssl all all 0.0.0.0/0 md5', 'host all all 0.0.0.0/0 md5'],
'superuser': {'password': ''},
'admin': {'username': 'admin', 'password': 'admin'},
'use_slots' : True,
'replication': {'username': 'replicator',
'password': 'rep-pass',
'network': '127.0.0.1/32'},