Skip to content

Tests take too much time #246

@xroynard

Description

@xroynard

with pytest --durations=0 --durations-min=1.0, I have :

============================== slowest durations =============================== 
10.53s call     tests/containers/test_dataset.py::Test_Dataset::test_load_multiprocessing
5.73s call     tests/bridges/test_huggingface_bridge.py::Test_Huggingface_Bridge::test_huggingface_dataset_to_plaid_large
3.85s call     tests/bridges/test_huggingface_bridge.py::Test_Huggingface_Bridge::test_huggingface_dataset_to_plaid
3.46s call     tests/bridges/test_huggingface_bridge.py::Test_Huggingface_Bridge::test_huggingface_dataset_to_plaid_with_ids
1.89s call     tests/post/test_bisect.py::Test_Bisect::test_bisect_with_mix
1.57s call     tests/post/test_bisect.py::Test_Bisect::test_bisect_with_paths
1.02s call     tests/post/test_bisect.py::Test_Bisect::test_bisect_with_objects

We should try to limit duration of these 7 tests first

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciContinuous integrationenhancementNew feature or requesttestsTests should be improved

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions