Example #1
0
File: fault.py Project: LJoNe/gpdb
 def test_changetracking_kill_primary(self):
     sleep(30) #sleep 30sec, so that there will be some inflight Transactions
     is_ct_mode_enabled = self.do_changetracking()
     if not is_ct_mode_enabled:
         self.fail("Change Tracking mode not enabled!!")
     newfault = Fault()
     sleep(100)
     tinctest.logger.info('Executing incremental recovery in the background')
     newfault._run_sys_cmd('gprecoverseg -a &')
     newfault.stop_db('i')
Example #2
0
 def test_recovery_full_abort(self):
     newfault = Fault()
     sleep(100)
     newfault._run_sys_cmd('gprecoverseg -aF &')
     newfault.stop_db('i')
Example #3
0
 def test_recovery_full_abort(self):
     newfault = Fault()
     sleep(100)
     newfault._run_sys_cmd('gprecoverseg -aF &')
     newfault.stop_db('i')