From ec2e526ad8996cc208c1d7f7e9302b09a685f189 Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Fri, 19 Apr 2019 11:12:19 +0300 Subject: [PATCH] tests: checkdb minor fixes --- tests/checkdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checkdb.py b/tests/checkdb.py index 80dc3352..6366a39a 100644 --- a/tests/checkdb.py +++ b/tests/checkdb.py @@ -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')