self.adapter.applyLicense(self.getDefaultPool())
autoupdate = self.agent.getLicensedFeature("AutoUpdate")
autoupdate.disable()
- #assertions.assertFalse(autoupdate.checkKeyPresent() and not autoupdate.isActive(),"Xapi does not indicate that AutoUpdate is disabled")
- xenrt.TEC().logverbose("%s"%self.getHost("RESOURCE_HOST_0").execdom0("xenstore-ls -f /guest_agent_features"))
- xenrt.TEC().logverbose("%s"%self.getHost("RESOURCE_HOST_0").xenstoreExists("/guest_agent_features/Guest_agent_auto_update/parameters/enabled"))
- assertions.assertFalse(self.getHost("RESOURCE_HOST_0").xenstoreExists("/guest_agent_features/Guest_agent_auto_update/parameters/enabled"))
+ assertions.assertTrue(autoupdate.checkKeyPresent() and not autoupdate.isActive(),"Xapi does not indicate that AutoUpdate is disabled")
+ #xenrt.TEC().logverbose("%s"%self.getHost("RESOURCE_HOST_0").execdom0("xenstore-ls -f /guest_agent_features"))
+ #xenrt.TEC().logverbose("%s"%self.getHost("RESOURCE_HOST_0").xenstoreExists("/guest_agent_features/Guest_agent_auto_update/parameters/enabled"))
+ #assertions.assertFalse(self.getHost("RESOURCE_HOST_0").xenstoreExists("/guest_agent_features/Guest_agent_auto_update/parameters/enabled"))
autoupdate.setUserVMUser()
- assertions.assertFalse(autoupdate.checkKeyPresent(),"DisableAutoUpdate reg key is present")
+ assertions.assertTrue(autoupdate.checkKeyPresent(),"DisableAutoUpdate reg key is present")
self._shouldNotBePinged(trigger,server)
autoupdate.enable()
self._shouldBePinged(trigger,server)
autoupdate.setUserPoolAdmin()
autoupdate.disable()
- assertions.assertFalse(autoupdate.checkKeyPresent() and not autoupdate.isActive(),"Xapi does not indicate that AutoUpdate is disabled")
+ assertions.assertTrue(autoupdate.checkKeyPresent() and not autoupdate.isActive(),"Xapi does not indicate that AutoUpdate is disabled")
autoupdate.setUserVMUser()
- assertions.assertFalse(autoupdate.checkKeyPresent(),"registry does not indicate that AutoUpdate is enabled")
+ assertions.assertTrue(autoupdate.checkKeyPresent(),"registry does not indicate that AutoUpdate is enabled")
self._shouldNotBePinged(trigger,server)
class URLHierarchy(DotNetAgentTestCases):