Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_graph_transient_error_regression

Tests reference — tests/knowledge_graph/test_graph_transient_error_regression.py

Module of tests/knowledge_graph, split out because the directory page would be too large.

Prose pending.

tests/knowledge_graph/test_graph_transient_error_regression.py

source · 6 tests · 61 lines

Regression test: GraphClient._is_transient_error matches "already exists".

Covers: knowledge_graph.graph_client

Kind Name Line Description
function test_already_exists_message_is_transient 17 A realistic Neo4j 'already exists' message must be treated as transient.
function test_entity_not_found_message_is_transient 26
function test_literal_dotstar_pattern_does_not_match 31 The old literal 'Node.*already exists' must NOT be what we rely on.
function test_unrelated_error_is_not_transient 43
function test_memgraph_mvcc_conflict_message_is_transient 48 Neo4j -> orchgraph migration (Deliverable 2): a Memgraph MVCC
function test_memgraph_transient_error_type_name_is_transient 59