mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-10 14:37:03 +02:00
tests: more fixes for "cfs_backup" module
This commit is contained in:
parent
71661abc3f
commit
f324b08180
@ -482,7 +482,7 @@ class CfsBackupNoEncTest(ProbackupTest, unittest.TestCase):
|
||||
)
|
||||
|
||||
# --- Section: Incremental from fill tablespace --- #
|
||||
@unittest.expectedFailure
|
||||
# @unittest.expectedFailure
|
||||
# @unittest.skip("skip")
|
||||
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
|
||||
def test_fullbackup_after_create_table_ptrack_after_create_table(self):
|
||||
@ -546,7 +546,7 @@ class CfsBackupNoEncTest(ProbackupTest, unittest.TestCase):
|
||||
)
|
||||
)
|
||||
|
||||
@unittest.expectedFailure
|
||||
# @unittest.expectedFailure
|
||||
# @unittest.skip("skip")
|
||||
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
|
||||
def test_fullbackup_after_create_table_ptrack_after_create_table_stream(self):
|
||||
@ -612,7 +612,7 @@ class CfsBackupNoEncTest(ProbackupTest, unittest.TestCase):
|
||||
)
|
||||
)
|
||||
|
||||
@unittest.expectedFailure
|
||||
# @unittest.expectedFailure
|
||||
# @unittest.skip("skip")
|
||||
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
|
||||
def test_fullbackup_after_create_table_page_after_create_table(self):
|
||||
@ -917,7 +917,7 @@ class CfsBackupNoEncTest(ProbackupTest, unittest.TestCase):
|
||||
self.node.safe_psql("postgres", "SELECT * FROM t_heap_2"),
|
||||
'Lost data after restore')
|
||||
|
||||
@unittest.expectedFailure
|
||||
# @unittest.expectedFailure
|
||||
# @unittest.skip("skip")
|
||||
@unittest.skipUnless(ProbackupTest.enterprise, 'skip')
|
||||
def test_fullbackup_after_create_table_page_after_create_table_stream(self):
|
||||
|
@ -88,4 +88,6 @@ def corrupt_file(filename):
|
||||
|
||||
def random_string(n):
|
||||
a = string.ascii_letters + string.digits
|
||||
return ''.join([random.choice(a) for i in range(int(n)+1)])
|
||||
random_str = ''.join([random.choice(a) for i in range(int(n)+1)])
|
||||
return str.encode(random_str)
|
||||
# return ''.join([random.choice(a) for i in range(int(n)+1)])
|
||||
|
Loading…
x
Reference in New Issue
Block a user