diff --git a/tests/compatibility.py b/tests/compatibility.py index 6830ce43..527b4d95 100644 --- a/tests/compatibility.py +++ b/tests/compatibility.py @@ -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)