diff --git a/erp5/util/testnode/SlapOSMasterCommunicator.py b/erp5/util/testnode/SlapOSMasterCommunicator.py index 65a33c8af78c74ab2c77d31a0285b88f8e32d0b0..da6f89c821395d60c5d57837c86ecfdd9a388665 100644 --- a/erp5/util/testnode/SlapOSMasterCommunicator.py +++ b/erp5/util/testnode/SlapOSMasterCommunicator.py @@ -144,6 +144,9 @@ class SlapOSMasterCommunicator(object): Return True if instance status and instance news text ~looks corresponding. ( use the matching of 'correctly' and 'Instance' and status ) """ + # XXX: SlapOS Master doesn't store any "news" about slave instances. Assume true. + if self._curl(instance_link)['slave']: + return True text = self.getNewsFromInstanceLink(instance_link)['news'][0]['text'] return ('Instance' in text) and ('correctly' in text) and (status in text)