Skip to content

test: relocate basic Qdrant connectivity test to smoke tier (#2069)#2074

Open
yastman wants to merge 1 commit into
devfrom
chore/2069-relocate-basic-connection
Open

test: relocate basic Qdrant connectivity test to smoke tier (#2069)#2074
yastman wants to merge 1 commit into
devfrom
chore/2069-relocate-basic-connection

Conversation

@yastman
Copy link
Copy Markdown
Owner

@yastman yastman commented May 22, 2026

This pull request was created by @kiro-agent on behalf of @yastman 👻

Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent


Summary

tests/integration/test_basic_connection.py is a connectivity-only Qdrant ping (urllib + GET /collections). It doesn't exercise an integration — it just probes whether the service answers. Per the test-audit triage in #1515, that belongs in tests/smoke/ alongside other live-service probes.

Changes

  • git mv tests/integration/test_basic_connection.py tests/smoke/test_basic_connection.py
  • Update tests/unit/security/test_codeql_regressions.py path constant.
  • Update tests/unit/security/test_secret_hygiene.py path expression.

Verification

uv run pytest tests/smoke/test_basic_connection.py --co -q              # 1 test collected
uv run pytest tests/smoke/test_basic_connection.py --collect-only        # smoke marker applied
uv run pytest tests/unit/security/{test_codeql_regressions,test_secret_hygiene}.py -q
  → 9 passed

The smoke marker is auto-applied by tests/conftest.py::pytest_collection_modifyitems based on parent directory, so no explicit pytestmark = pytest.mark.smoke is needed.

Closes #2069

tests/integration/test_basic_connection.py is a connectivity-only Qdrant
ping (urllib + GET /collections). It does not exercise an integration —
it just probes whether the service answers. Per the test-audit triage
in #1515, that belongs in tests/smoke/ alongside other live-service
probes (test_chunking_smoke, test_smoke_bge_litellm_cache, etc.).

Changes:
- git mv tests/integration/test_basic_connection.py
       tests/smoke/test_basic_connection.py
- Update tests/unit/security/test_codeql_regressions.py path constant.
- Update tests/unit/security/test_secret_hygiene.py path expression.

Verification:
  uv run pytest tests/smoke/test_basic_connection.py --co -q
    1 test collected
  uv run pytest tests/smoke/test_basic_connection.py --collect-only
    -> smoke marker applied automatically (root conftest tier rule).
  uv run pytest tests/unit/security/test_codeql_regressions.py
                tests/unit/security/test_secret_hygiene.py -q
    9 passed

The smoke marker is auto-applied by tests/conftest.py
pytest_collection_modifyitems based on the parent directory, so no
explicit pytestmark = pytest.mark.smoke is needed on the file.

Closes #2069
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

Successfully merging this pull request may close these issues.

test: RELOCATE-SMOKE move basic Qdrant connectivity test to smoke tier (#1515)

2 participants