

def add_iteration(self, iteration):
    if (not iteration.get('error')):
        self.avg_comp.add(iteration['duration'])
        self.avg = self.avg_comp.result()
    self.success = (self.avg <= self.criterion_value)
    return self.success

dataset/ETHPy150Open openstack/rally/rally/plugins/common/sla/max_average_duration.py MaxAverageDuration.add_iteration/original