• Alain Takoudjou's avatar
    grid.promise: add support for promise without test or anomaly · 1dba7a89
    Alain Takoudjou authored
    Support for promise test-less or anomaly-less allow to disable either the test phase or the anomaly phase.
    
    by default, test and anomaly are enabled. Test will run when buildout is processing the computer partition, and anomaly when the partition is processed.
    
    Call `self.setTestLess()` in __init__.py of the promise will disable Test and set `__is_tested = False`. Call `self.setAnomalyLess()` will rather disable Anomaly and set `__is_anomaly_detected = False`.
    
    If the promise is test less, then slapgrid will not run the promise while processing the partition which mean that the promise will not report error, only Anomaly will be checked. Samething, if promise is anomaly less, only test will run when slapgrid is processing the partition.
    1dba7a89
Name
Last commit
Last update
..
cli Loading commit data...
collect Loading commit data...
grid Loading commit data...
manager Loading commit data...
proxy Loading commit data...
slap Loading commit data...
tests Loading commit data...
README.console.rst Loading commit data...
README.format.rst Loading commit data...
README.grid.rst Loading commit data...
README.manager.rst Loading commit data...
README.proxy.rst Loading commit data...
README.slap.rst Loading commit data...
__init__.py Loading commit data...
bang.py Loading commit data...
client.py Loading commit data...
format.py Loading commit data...
human.py Loading commit data...
slapos.xsd Loading commit data...
util.py Loading commit data...
version.py Loading commit data...