…ityMonitor methods to be paired properly
* update unstableServices counter only if monitor is really added or removed from observers list * refactoring StabilityMonitor.remove() -> StabilityMonitor.removeController(Controller)
* use asserts instead of exception throwing * fix real regression cause and remove useless 'stable' flag
* do not decrement unstable services when adding problem or failed controller * always ensure unstableServices >= 0 invariant * introducing service controller 'stable' flag - to properly notify stability observers * refactoring getStabilityState() method
- on affected tests: add an extra pair of rules to workaround a deadlock scenario caused by the race condition tests themselves
…ntainer stability report
…part 1: base implementation" This reverts commit 5501976.