コード例 #1
0
 def _sync_wait_cds(self, cdslist):
     """ Sync CDS and wait """
     # waits for the cds sync conclusion
     for cds in cdslist:
         cdssync = ["UP", "In Progress", "", ""]
         while cdssync[1] == "In Progress":
             time.sleep(10)
             cdssync = RHUIManagerSync.get_cds_status(self.rs.Instances["RHUA"][0], cds)
         nose.tools.assert_equal(cdssync[3], "Success")
コード例 #2
0
 def _sync_wait_cds(self, cdslist):
     """ Sync CDS and wait """
     # waits for the cds sync conclusion
     for cds in cdslist:
         cdssync = ["UP", "In Progress", "", ""]
         while cdssync[1] == "In Progress":
             time.sleep(10)
             cdssync = RHUIManagerSync.get_cds_status(
                 self.rs.Instances["RHUA"][0], cds)
         nose.tools.assert_equal(cdssync[3], "Success")