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:
parent
aae69835e2
commit
ec2e526ad8
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user