Skip to content
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

test error: No SSL certificates found #3508

Open
mtelka opened this issue Feb 11, 2025 · 1 comment
Open

test error: No SSL certificates found #3508

mtelka opened this issue Feb 11, 2025 · 1 comment

Comments

@mtelka
Copy link

mtelka commented Feb 11, 2025

I'm trying to run tests for version 5.2.1 with -m "not ssl" and I'm getting this error:

_____________ ERROR collecting tests/test_asyncio/test_cluster.py ______________
tests/test_asyncio/test_cluster.py:2888: in <module>
    class TestSSL:
tests/test_asyncio/test_cluster.py:2896: in TestSSL
    CLIENT_CERT, CLIENT_KEY, CA_CERT = get_tls_certificates("cluster")
tests/ssl_utils.py:30: in get_tls_certificates
    raise OSError(f"No SSL certificates found. They should be in {cert_dir}")
E   OSError: No SSL certificates found. They should be in $(BUILD_DIR)/build/dockers/cluster/tls
@vladvildanov
Copy link
Collaborator

Hi! Are you running all tests or just cluster one? I'm trying to reproduce the issue, but it looks like tests with ssl mark is skipped correctly

pytest -m "not ssl" tests/test_asyncio/test_cluster.py::TestSSL

================= 11 deselected in 0.02s =====================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants