

def test_result_few_iterations_small_min_iterations(self):
    sla = outliers.Outliers({
        'max': 0,
        'min_iterations': 5,
    })
    iteration_durations = [3.1, 4.2, 4.7, 3.6, 15.14, 2.8]
    for d in iteration_durations:
        sla.add_iteration({
            'duration': d,
        })
    self.assertFalse(sla.result()['success'])

dataset/ETHPy150Open openstack/rally/tests/unit/plugins/common/sla/test_ouliers.py OutliersTestCase.test_result_few_iterations_small_min_iterations/original