Skip to content

Commit

Permalink
restore skips for faster test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinL committed Oct 3, 2024
1 parent 8cc2e52 commit 4975fa4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/test_cc_random_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_small_erdos_renyi_graph(execution_number):
assert (cc_df.values == nx_df.values).all()


# @pytest.mark.skip(reason="Slow")
@pytest.mark.skip(reason="Slow")
@pytest.mark.parametrize("execution_number", range(10))
def test_medium_erdos_renyi_graph(execution_number):
g = generate_random_graph(graph_size=10000)
Expand All @@ -31,7 +31,7 @@ def test_medium_erdos_renyi_graph(execution_number):
assert (cc_df.values == nx_df.values).all()


# @pytest.mark.skip(reason="Slow")
@pytest.mark.skip(reason="Slow")
@pytest.mark.parametrize("execution_number", range(2))
def test_large_erdos_renyi_graph(execution_number):
g = generate_random_graph(graph_size=100000)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_cluster_at_multiple_thresholds.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
from .decorator import mark_with_dialects_excluding


@pytest.mark.parametrize("graph_size", [100, 500, 1000, 5000])
@pytest.mark.parametrize("graph_size", [20, 500, 1000, 5000])
@mark_with_dialects_excluding()
def test_cluster_at_multiple_thresholds(test_helpers, dialect, graph_size):
helper = test_helpers[dialect]
db_api = helper.DatabaseAPI(**helper.db_api_args())

if dialect == "spark" and graph_size > 100:
if dialect == "spark" and graph_size > 20:
pytest.skip("Skipping large graph sizes for Spark dialect")

G = generate_random_graph(graph_size)
Expand Down

0 comments on commit 4975fa4

Please sign in to comment.