@@ -532,49 +532,3 @@ def test_backward_compatibility_merge(self):
532
532
533
533
# Clean after yourself
534
534
self .del_test_dir (module_name , fname )
535
-
536
- # @unittest.skip("skip")
537
- def test_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