tests: minor fix

This commit is contained in:
Grigory Smolkin
2019-02-11 20:04:33 +03:00
parent 0220ae5146
commit 8b8337047c
+3 -3
View File
@@ -11,7 +11,7 @@ class SnapFSTest(ProbackupTest, unittest.TestCase):
# @unittest.skip("skip")
# @unittest.expectedFailure
def test_backup_modes_archive(self):
def test_snapfs_simple(self):
"""standart backup modes with ARCHIVE WAL method"""
fname = self.id().split('.')[3]
node = self.make_simple_node(
@@ -32,7 +32,7 @@ class SnapFSTest(ProbackupTest, unittest.TestCase):
'postgres',
'select pg_make_snapshot()')
node.pgbench_init(scale=100)
node.pgbench_init(scale=10)
pgbench = node.pgbench(options=['-T', '50', '-c', '2', '--no-vacuum'])
pgbench.wait()
@@ -53,7 +53,7 @@ class SnapFSTest(ProbackupTest, unittest.TestCase):
self.restore_node(
backup_dir, 'node',
restored_node, options=["-j", "4"])
node, options=["-j", "4"])
pgdata_restored = self.pgdata_content(node.data_dir)
self.compare_pgdata(pgdata, pgdata_restored)