Skip to content

Commit

Permalink
[MNT] xfail remote data loaders to silence sporadic failures (#5461)
Browse files Browse the repository at this point in the history
This PR adds an xfail to the UCR loader and the Monash loader - both
retrieving benchmark data from the internet - in order to silence the
sporadic failures described in bug reports #5460 and #5462.

Only a temporary measure, possibly also rectified by the CI refactor
with a separate data testing element.
  • Loading branch information
fkiraly committed Oct 20, 2023
1 parent f8d3410 commit 5e8d230
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sktime/datasets/tests/test_single_problem_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def test_load_numpy2d_multivariate_raises(loader):
X, y = loader(return_type="numpy2d")


@pytest.mark.xfail(reason="known sporadic failure of unknown cause, see #5460")
def test_load_UEA():
"""Test loading of a random subset of the UEA data, to check API."""
from sktime.datasets.tsc_dataset_names import multivariate, univariate
Expand Down Expand Up @@ -114,6 +115,7 @@ def test_load_forecastingdata():
assert metadata["contain_equal_length"] is False


@pytest.mark.xfail(reason="known sporadic failure of unknown cause, see #5462")
@pytest.mark.parametrize("name", TSF_SUBSAMPLE)
def test_check_link_downloadable(name):
"""Test dataset URL from forecasting.org is downloadable and exits."""
Expand Down

0 comments on commit 5e8d230

Please sign in to comment.