Пример #1
0
 def run(self, arglist):
     self.adapter.applyLicense(self.getDefaultPool())
     autoupdate = self.agent.getLicensedFeature("AutoUpdate")
     self.agent.restartAgent()
     xenrt.sleep(30)
     assertions.assertNone(
         autoupdate.checkDownloadedMSI(),
         "Agent Downloaded MSI when it was the latest version")
Пример #2
0
 def __defaultServerPinged(self,shouldbe):
     self.agent.restartAgent()
     xenrt.sleep(30)
     if shouldbe:
         assertions.assertNotNone(self.autoupdate.checkDownloadedMSI(),"MSI did not download from default url")
     else:
         assertions.assertNone(self.autoupdate.checkDownloadedMSI(), "MSI was downloaded when it shouldnt be")
     self.adapter.removeMSIs(self.win1)
Пример #3
0
 def __defaultServerPinged(self, shouldbe):
     self.agent.restartAgent()
     xenrt.sleep(30)
     if shouldbe:
         assertions.assertNotNone(self.autoupdate.checkDownloadedMSI(),
                                  "MSI did not download from default url")
     else:
         assertions.assertNone(self.autoupdate.checkDownloadedMSI(),
                               "MSI was downloaded when it shouldnt be")
     self.adapter.removeMSIs(self.win1)
Пример #4
0
 def run(self, arglist):
     self.adapter.applyLicense(self.getDefaultPool())
     autoupdate = self.agent.getLicensedFeature("AutoUpdate")
     self.agent.restartAgent()
     xenrt.sleep(30)
     assertions.assertNone(autoupdate.checkDownloadedMSI(),"Agent Downloaded MSI when it was the latest version")