Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

tests: no test skips for a feature the wheel ships, and CI fails on any skip nobody accepted #207

Closed

Description

@tae898

The testing overview documents a weakness: some tests skip when the engine raises an error or returns an empty answer, "so a wrong empty answer shows up as a skip". About twenty tests were written that way when the package had variants without OpenCypher, the geo and graph-algorithm SQL functions, time series, the HASH index, vector encodings, the importers, or the server stack. Every wheel ships all of them now, and on 26.10.1 none of those skips fires, so the branches only hide a future regression.

The change:

  • Each skip that stands for "the runtime lacks a feature the wheel ships" becomes a plain assertion or exception: OpenCypher (test_cypher.py, test_core.py, test_vector_sql.py), including the collect/UNWIND empty result and the pattern comprehension null; the geo, graph-algorithm, time-series, and HASH index tests; vector encoding metadata, byte ingest, and LSM_SPARSE_VECTOR; the Neo4j, Word2Vec, RDF, and time-series importer tests and their fixture checks; the positive GraphML and GraphSON export tests (their inner skip); the JVM payload check. The Windows XML and RDF import skips never fire (both tests pass on every Windows job) and are removed.
  • Optional packages go through pytest.importorskip without a custom reason (numpy in two files, requests), so the CI import gate sees them.
  • test_faulthandler_is_off_on_windows runs on every platform: it calls the conftest hook for win32, linux, and darwin, and on Windows also checks the session's real state.
  • scripts/check_test_skips.py (ASCII only, tested in tests/test_check_test_skips.py) runs in the test job over the JUnit XML and fails on a skip whose reason is not on its short list: GraphML/GraphSON (the wheel excludes arcadedb-gremlin), the Windows file name and SIGINT tests, and the docs-example tests on the upstream pull request branch.

What stays: 9 strict xfails for upstream ArcadeData#9277, ArcadeData#9278, and ArcadeData#9281, which are open (the fix is upstream PR ArcadeData#9288), and the two GraphML/GraphSON skips, which cannot run in the shipped wheel by design. Nothing needs filing upstream: every engine bug behind a skip or xfail is already filed, and the skips that named an engine failure never fired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions