Skip to content

Commit de39fc8

Browse files
committed
fix dilation of metric cluster, max attempts
1 parent 3c52e66 commit de39fc8

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_cluster/test_implementation/test_metric_based/tests_metric_dilation.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,12 @@ def test_zoom_in_with_zoom_out_until_fully_expanded(parameters):
207207
case _:
208208
raise AssertionError
209209

210-
211210
@given(
212211
array=array_strategy,
213212
kernel_with_points=kernel_and_points(),
214213
operation=reduction_operation_strategy,
215214
)
216-
@settings(suppress_health_check=[HealthCheck.filter_too_much])
215+
@settings(suppress_health_check=[HealthCheck.filter_too_much], max_examples=1_000)
217216
def test_get_selected_initialize_cell(array, kernel_with_points, operation):
218217
kernel, points = kernel_with_points
219218

@@ -246,11 +245,10 @@ def test_get_selected_initialize_cell(array, kernel_with_points, operation):
246245
@given(
247246
rows=st.integers(min_value=1, max_value=10),
248247
cols=st.integers(min_value=1, max_value=10),
249-
num_machines=st.integers(min_value=1, max_value=100),
250248
x=st.integers(min_value=0, max_value=9),
251249
y=st.integers(min_value=0, max_value=9)
252250
)
253-
def test_calculate_original_machine_index(rows, cols, num_machines, x, y):
251+
def test_calculate_original_machine_index(rows, cols, x, y):
254252
# TODO: Make sure its fine
255253
x = min(x, rows - 1)
256254
y = min(y, cols - 1)

0 commit comments

Comments
 (0)