From 9390d5afa5365f029aca600a834e7ec377f64f67 Mon Sep 17 00:00:00 2001 From: Rouven Bauer Date: Tue, 21 Sep 2021 14:17:26 +0200 Subject: [PATCH] Disable test for unsupported bolt version 3.5 servers will re-run the last query if they receive an empty query. This was intended to be an optimization of tx retries. --- tests/integration/test_pipelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_pipelines.py b/tests/integration/test_pipelines.py index 076fe0a3..299ec76f 100644 --- a/tests/integration/test_pipelines.py +++ b/tests/integration/test_pipelines.py @@ -197,7 +197,7 @@ def test_can_handle_cypher_error(bolt_driver): next(pipeline.pull()) -def test_should_not_allow_empty_statements(bolt_driver): +def test_should_not_allow_empty_statements(bolt_driver, requires_bolt_4x): with bolt_driver.pipeline(flush_every=0) as pipeline: pipeline.push("") with pytest.raises(CypherSyntaxError):