Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit361af24

Browse files
committed
tests: remove compatibility.CompatibilityTest.test_backup_concurrent_drop_table
1 parent79f940f commit361af24

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

‎tests/compatibility.py

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -532,49 +532,3 @@ def test_backward_compatibility_merge(self):
532532

533533
# Clean after yourself
534534
self.del_test_dir(module_name,fname)
535-
536-
# @unittest.skip("skip")
537-
deftest_backup_concurrent_drop_table(self):
538-
""""""
539-
fname=self.id().split('.')[3]
540-
backup_dir=os.path.join(self.tmp_path,module_name,fname,'backup')
541-
node=self.make_simple_node(
542-
base_dir=os.path.join(module_name,fname,'node'),
543-
set_replication=True,
544-
initdb_params=['--data-checksums'])
545-
546-
self.init_pb(backup_dir)
547-
self.add_instance(backup_dir,'node',node,old_binary=True)
548-
node.slow_start()
549-
550-
node.pgbench_init(scale=1)
551-
552-
# FULL backup
553-
gdb=self.backup_node(
554-
backup_dir,'node',node,
555-
options=['--stream','--compress','--log-level-file=VERBOSE'],
556-
gdb=True,old_binary=True)
557-
558-
gdb.set_breakpoint('backup_data_file')
559-
gdb.run_until_break()
560-
561-
node.safe_psql(
562-
'postgres',
563-
'DROP TABLE pgbench_accounts')
564-
565-
# do checkpoint to guarantee filenode removal
566-
node.safe_psql(
567-
'postgres',
568-
'CHECKPOINT')
569-
570-
gdb.remove_all_breakpoints()
571-
gdb.continue_execution_until_exit()
572-
573-
# show_backup = self.show_pb(backup_dir, 'node')[0]
574-
# self.assertEqual(show_backup['status'], "OK")
575-
576-
# validate with fresh binary, it MUST be successful
577-
self.validate_pb(backup_dir)
578-
579-
# Clean after yourself
580-
self.del_test_dir(module_name,fname)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp