Пример #1
0
    def test_drop_pg_dirs_on_primary(self):
        """
        [feature]: Drops primary gp0 folder 
        
        """

        newfault = Fault()
        (host, fileLoc) = newfault.get_segment_host_fileLoc()
        newfault.drop_pg_dirs_on_primary(host, fileLoc)
        rtrycnt = 0
        max_rtrycnt = 300
        while( not newfault.is_changetracking()):
            tinctest.logger.info("Waiting [%s] for DB to go into CT mode" %rtrycnt)
            rtrycnt = rtrycnt + 1