From dc792f54741f8d656e0127ca85b87d75c5e3de1d Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Thu, 5 Oct 2017 16:59:05 +0300 Subject: [PATCH] tests: ptrack small fixes --- tests/ptrack.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/ptrack.py b/tests/ptrack.py index 101c2a8a..32c1e500 100644 --- a/tests/ptrack.py +++ b/tests/ptrack.py @@ -60,21 +60,21 @@ class PtrackBackupTest(ProbackupTest, unittest.TestCase): node.start() # FULL BACKUP - print('START') - print(node.safe_psql('postgres', "select pg_ptrack_control_lsn()")) +# print('START') +# print(node.safe_psql('postgres', "select pg_ptrack_control_lsn()")) self.backup_node(backup_dir, 'node', node, options=['--stream']) - print('AFTER FULL') - print(node.safe_psql('postgres', "select pg_ptrack_control_lsn()")) +# print('AFTER FULL') +# print(node.safe_psql('postgres', "select pg_ptrack_control_lsn()")) # DISABLE PTRACK node.safe_psql('postgres', "alter system set ptrack_enable to off") node.restart() - print('DISABLED') - print(node.safe_psql('postgres', "select pg_ptrack_control_lsn()")) +# print('DISABLED') +# print(node.safe_psql('postgres', "select pg_ptrack_control_lsn()")) # ENABLE PTRACK node.safe_psql('postgres', "alter system set ptrack_enable to on") node.restart() - print('ENABLED') - print(node.safe_psql('postgres', "select pg_ptrack_control_lsn()")) +# print('ENABLED') +# print(node.safe_psql('postgres', "select pg_ptrack_control_lsn()")) # PTRACK BACKUP try: @@ -685,7 +685,7 @@ class PtrackBackupTest(ProbackupTest, unittest.TestCase): self.create_tblspace_in_node(node, 'somedata') # CREATE TABLE - node.pgbench_init(scale=30, options=['--tablespace=somedata']) + node.pgbench_init(scale=300, options=['--tablespace=somedata']) # FULL BACKUP self.backup_node(backup_dir, 'node', node, options=["--stream"])