@Override
        public String isConditionMet() {
            if (currentState == null) {
                return "No cluster state defined yet";
            }
            int nodebitcount = 0;
            for (NodeType type : NodeType.getTypes()) {
                int nodeCount = currentState.getNodeCount(type);
                for (int i=0; i<nodeCount; ++i) {
                    if (currentState.getNodeState(new Node(type, i)).getMinUsedBits() == bitCount) {
                        ++nodebitcount;
                    }
                }
            }
            if (nodebitcount == nodeCount) return null;
            return "Currently, " + nodebitcount + " and not " + nodeCount + " nodes have " + bitCount + " min bits used set";
        }
Returns the given state string with timestamps removed
clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/testutils/WaitCondition.java