Skip to content

Commit

Permalink
Int test fix (#1355)
Browse files Browse the repository at this point in the history
* relaxed time limits for test_early_stop_in_tuning
  • Loading branch information
VadimsAhmers authored Jan 7, 2025
1 parent 2c23695 commit 16b0127
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/pipelines/tuning/test_pipeline_tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def test_early_stop_in_tuning(data_fixture, request):
loss_function=ClassificationMetricsEnum.ROCAUC,
iterations=1000,
early_stopping_rounds=1)
assert time() - start_pipeline_tuner < 1
assert time() - start_pipeline_tuner < 1.1

start_sequential_tuner = time()
_ = run_pipeline_tuner(tuner=SequentialTuner,
Expand All @@ -450,15 +450,15 @@ def test_early_stop_in_tuning(data_fixture, request):
loss_function=ClassificationMetricsEnum.ROCAUC,
iterations=1000,
early_stopping_rounds=1)
assert time() - start_sequential_tuner < 1
assert time() - start_sequential_tuner < 1.1

start_node_tuner = time()
_ = run_node_tuner(train_data=train_data,
pipeline=get_class_pipelines()[0],
loss_function=ClassificationMetricsEnum.ROCAUC,
iterations=1000,
early_stopping_rounds=1)
assert time() - start_node_tuner < 1
assert time() - start_node_tuner < 1.1


def test_search_space_correctness_after_customization():
Expand Down

0 comments on commit 16b0127

Please sign in to comment.