Skip to content

Commit

Permalink
add flaky for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinkohli committed Jul 12, 2022
1 parent e5120df commit e93d766
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_pipeline/test_tabular_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
UniformIntegerHyperparameter,
)

from flaky import flaky

import numpy as np

import pytest
Expand Down Expand Up @@ -59,6 +61,7 @@ def _assert_pipeline_search_space(self, pipeline, search_space_updates):
elif isinstance(hyperparameter, CategoricalHyperparameter):
assert update.value_range == hyperparameter.choices

@flaky(max_runs=3)
def test_pipeline_fit(self, fit_dictionary_tabular, exclude):
"""This test makes sure that the pipeline is able to fit
given random combinations of hyperparameters across the pipeline"""
Expand Down

0 comments on commit e93d766

Please sign in to comment.