Skip to content

Remove debug logging from nearest neighbors test#6376

Merged
rapids-bot[bot] merged 1 commit intorapidsai:branch-25.04from
csadorf:tests/remove-debug-log-from-nn-test
Feb 27, 2025
Merged

Remove debug logging from nearest neighbors test#6376
rapids-bot[bot] merged 1 commit intorapidsai:branch-25.04from
csadorf:tests/remove-debug-log-from-nn-test

Conversation

@csadorf
Copy link
Copy Markdown
Contributor

@csadorf csadorf commented Feb 26, 2025

Remove extraneous debug logging from nearest neighbors test. This is likely the root cause for sporadic test failures we observe as part of our test pipeline since it changes the logger level globally. Specifically, I suspect it leads to failures in the doc-tests of other estimators since it causes extraneous verbose output.

To reproduce the issue, force the following execution order for both the offending and the affected tests:

pytest cuml/tests/test_nearest_neighbors.py cuml/tests/test_doctest.py -k 'test_nearest_neighbors_sparse or logistic'

@csadorf csadorf requested a review from a team as a code owner February 26, 2025 22:03
@csadorf csadorf requested review from bdice and viclafargue February 26, 2025 22:03
@github-actions github-actions Bot added the Cython / Python Cython or Python issue label Feb 26, 2025
@csadorf csadorf added bug Something isn't working non-breaking Non-breaking change tests Unit testing for project and removed Cython / Python Cython or Python issue labels Feb 26, 2025
@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented Feb 26, 2025

/merge

dantegd added a commit to dantegd/cuml that referenced this pull request Feb 26, 2025
@rapids-bot rapids-bot Bot merged commit 29d5bcd into rapidsai:branch-25.04 Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Non-breaking change tests Unit testing for project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants