From da3b9a9c442396a43a70efa725ca7f489605d632 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 3 May 2024 14:58:48 -0500 Subject: [PATCH] define 'ucx' pytest marker (#2281) Looking through logs on https://github.com/rapidsai/raft/pull/2279, I noticed this warning: ```text test/test_comms.py:267 /__w/raft/raft/python/raft-dask/raft_dask/test/test_comms.py:267: PytestUnknownMarkWarning: Unknown pytest.mark.ucx - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.ucx ``` ([build link](https://github.com/rapidsai/raft/actions/runs/8850602382/job/24314273393?pr=2279#step:7:780)) This resolves it. ### How I tested this Looked for all such cases like this: ```shell git grep -E 'mark.*ucx' ``` Hopefully we'll see this log disappear from the `conda-python-tests` CI logs on this PR. Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Bradley Dice (https://github.com/bdice) - Dante Gama Dessavre (https://github.com/dantegd) - Ray Douglass (https://github.com/raydouglass) URL: https://github.com/rapidsai/raft/pull/2281 --- python/raft-dask/pytest.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/python/raft-dask/pytest.ini b/python/raft-dask/pytest.ini index 8904172272..5559bb08c8 100644 --- a/python/raft-dask/pytest.ini +++ b/python/raft-dask/pytest.ini @@ -6,3 +6,4 @@ markers = mg: marks a test as multi-GPU memleak: marks a test as a memory leak test nccl: marks a test as using NCCL + ucx: marks a test as using ucx-py