Problem (if I understand it correctly):
If the first filter expression (in this case ->filter(m | m.nodes().vnode.resourceDemand == 0)) filters nothing out, i.e., the result should not be an empty set, the second filter(...) operation could not be triggered and, therefore, the count() does not evaluate to 0?
In some cases, serial
filter(...)
expressions break the filter semantics. Example: https://github.com/Echtzeitsysteme/gips-tests/pull/31Problem (if I understand it correctly): If the first filter expression (in this case
->filter(m | m.nodes().vnode.resourceDemand == 0)
) filters nothing out, i.e., the result should not be an empty set, the secondfilter(...)
operation could not be triggered and, therefore, thecount()
does not evaluate to 0?