mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
tests: minor fix
This commit is contained in:
+3
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user