1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-01 09:51:43 +02:00

tests: checkdb minor fixes

This commit is contained in:
Grigory Smolkin 2019-04-19 11:12:19 +03:00
parent aae69835e2
commit ec2e526ad8

View File

@ -219,14 +219,14 @@ class CheckdbTest(ProbackupTest, unittest.TestCase):
self.add_instance(backup_dir, 'node', node)
node.slow_start()
# init pgbench in two databases and corrupt both indexes
# create two databases
node.safe_psql("postgres", "create database db1")
node.safe_psql("db1", "create extension amcheck")
node.safe_psql("postgres", "create database db2")
node.safe_psql("db2", "create extension amcheck")
# init pgbench in two databases and corrupt both indexes
node.pgbench_init(scale=5, dbname='db1')
node.pgbench_init(scale=5, dbname='db2')