Skip to content

Conversation

@geetu040
Copy link
Contributor

@geetu040 geetu040 commented Jan 6, 2026

Fixes #1598

This PR adds the @pytest.mark.uses_test_server() marker to tests that depend on the OpenML test server.

Changes

  • added uses_test_server on the relevant test sets.
  • replaced all the server markers with uses_test_server marker
  • removed all the @pytest.mark.xfail(reason="failures_issue_1544", strict=False) where the failure was due to race-conditions or server connectivity

@fkiraly
Copy link
Collaborator

fkiraly commented Jan 6, 2026

great! Can we now skip them, to temporarily disable the failures?

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.72%. Comparing base (3454bbb) to head (6c331a9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1599   +/-   ##
=======================================
  Coverage   52.72%   52.72%           
=======================================
  Files          36       36           
  Lines        4326     4326           
=======================================
  Hits         2281     2281           
  Misses       2045     2045           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fkiraly fkiraly added testing maintenance & CI Continuous integration & package distribution labels Jan 7, 2026
Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully, this fixes the failing tests now - temporarily at least.

@fkiraly fkiraly merged commit c5f68bf into openml:main Jan 7, 2026
30 checks passed
JATAYU000 pushed a commit to JATAYU000/openml-python that referenced this pull request Jan 8, 2026
Fixes openml#1598

This PR adds the `@pytest.mark.uses_test_server()` marker to tests that depend on the OpenML test server.

Changes
* added `uses_test_server` on the relevant test sets.
* replaced all the `server` markers with `uses_test_server` marker
* removed all the `@pytest.mark.xfail(reason="failures_issue_1544", strict=False)` where the failure was due to race-conditions or server connectivity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance & CI Continuous integration & package distribution testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MNT] mark tests that require the OpenML test server

3 participants