-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract dask and spark test into distributed test. #8395
Conversation
trivialfis
commented
Oct 26, 2022
- Move test files.
- Run spark and dask separately to prevent conflicts.
- Gather common code into testing module.
- Move test files. - Run spark and dask separately to prevent conflicts. - Gather common code into testing module.
Close #8134 . |
run_test(with_ssl=False, with_gpu=False) | ||
run_test(with_ssl=True, with_gpu=True) | ||
run_test(with_ssl=False, with_gpu=True) | ||
run_federated(with_ssl=True, with_gpu=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should convert these into pytest and run them on CI.
Should I put the tests as part of XGBoost module?
Cons:
Some other libraries like dask/distributed, cudf, and cuml are integrating the tests into their Python module. For more implications, see https://docs.pytest.org/en/7.1.x/explanation/goodpractices.html#choosing-a-test-layout-import-rules . |
Let's keep the existing layout for now. If the need ever comes up we can make the change then, git can recognize moving files. |