mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-05 13:20:31 +02:00
tests: remove compatibility.CompatibilityTest.test_backup_concurrent_drop_table
This commit is contained in:
parent
79f940ff75
commit
361af245df
@ -532,49 +532,3 @@ class CompatibilityTest(ProbackupTest, unittest.TestCase):
|
||||
|
||||
# Clean after yourself
|
||||
self.del_test_dir(module_name, fname)
|
||||
|
||||
# @unittest.skip("skip")
|
||||
def test_backup_concurrent_drop_table(self):
|
||||
""""""
|
||||
fname = self.id().split('.')[3]
|
||||
backup_dir = os.path.join(self.tmp_path, module_name, fname, 'backup')
|
||||
node = self.make_simple_node(
|
||||
base_dir=os.path.join(module_name, fname, 'node'),
|
||||
set_replication=True,
|
||||
initdb_params=['--data-checksums'])
|
||||
|
||||
self.init_pb(backup_dir)
|
||||
self.add_instance(backup_dir, 'node', node, old_binary=True)
|
||||
node.slow_start()
|
||||
|
||||
node.pgbench_init(scale=1)
|
||||
|
||||
# FULL backup
|
||||
gdb = self.backup_node(
|
||||
backup_dir, 'node', node,
|
||||
options=['--stream', '--compress', '--log-level-file=VERBOSE'],
|
||||
gdb=True, old_binary=True)
|
||||
|
||||
gdb.set_breakpoint('backup_data_file')
|
||||
gdb.run_until_break()
|
||||
|
||||
node.safe_psql(
|
||||
'postgres',
|
||||
'DROP TABLE pgbench_accounts')
|
||||
|
||||
# do checkpoint to guarantee filenode removal
|
||||
node.safe_psql(
|
||||
'postgres',
|
||||
'CHECKPOINT')
|
||||
|
||||
gdb.remove_all_breakpoints()
|
||||
gdb.continue_execution_until_exit()
|
||||
|
||||
# show_backup = self.show_pb(backup_dir, 'node')[0]
|
||||
# self.assertEqual(show_backup['status'], "OK")
|
||||
|
||||
# validate with fresh binary, it MUST be successful
|
||||
self.validate_pb(backup_dir)
|
||||
|
||||
# Clean after yourself
|
||||
self.del_test_dir(module_name, fname)
|
||||
|
Loading…
Reference in New Issue
Block a user