Skip to content

Commit 8b83370

Browse files
committed
tests: minor fix
1 parent 0220ae5 commit 8b83370

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/snapfs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class SnapFSTest(ProbackupTest, unittest.TestCase):
1111

1212
# @unittest.skip("skip")
1313
# @unittest.expectedFailure
14-
def test_backup_modes_archive(self):
14+
def test_snapfs_simple(self):
1515
"""standart backup modes with ARCHIVE WAL method"""
1616
fname = self.id().split('.')[3]
1717
node = self.make_simple_node(
@@ -32,7 +32,7 @@ def test_backup_modes_archive(self):
3232
'postgres',
3333
'select pg_make_snapshot()')
3434

35-
node.pgbench_init(scale=100)
35+
node.pgbench_init(scale=10)
3636

3737
pgbench = node.pgbench(options=['-T', '50', '-c', '2', '--no-vacuum'])
3838
pgbench.wait()
@@ -53,7 +53,7 @@ def test_backup_modes_archive(self):
5353

5454
self.restore_node(
5555
backup_dir, 'node',
56-
restored_node, options=["-j", "4"])
56+
node, options=["-j", "4"])
5757

5858
pgdata_restored = self.pgdata_content(node.data_dir)
5959
self.compare_pgdata(pgdata, pgdata_restored)

0 commit comments

Comments
 (0)