Skip to content

Commit 04ebffa

Browse files
authored
ci: Add test cases for Interacitve runtime (#4466)
As titled. It seems that `MATCH(n)-[*1..4]-() RETURN count(n), n;` could be correctly executed on `graph_algo`, maybe this #4463 issue is due to other reasons.
1 parent 383a1e0 commit 04ebffa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flex/interactive/sdk/python/gs_interactive/tests/test_robustness.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,14 @@ def test_complex_query(interactive_session, neo4j_session, create_graph_algo_gra
411411
ping_thread.join()
412412
ping_thread_2.join()
413413

414+
result = neo4j_session.run("MATCH(n)-[*1..4]-() RETURN count(n),n;")
415+
records = result.fetch(200)
416+
assert len(records) == 184
417+
418+
result = neo4j_session.run("MATCH(n)-[e*1..4]-() RETURN count(n),n;")
419+
records = result.fetch(200)
420+
assert len(records) == 184
421+
414422

415423
def test_x_csr_params(
416424
interactive_session, neo4j_session, create_graph_algo_graph_with_x_csr_params

0 commit comments

Comments
 (0)