Skip to content

Commit 192793b

Browse files
authored
Disable test for unsupported bolt version (#592)
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. Backport of #591
1 parent c943b54 commit 192793b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_pipelines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def test_can_handle_cypher_error(bolt_driver):
197197
next(pipeline.pull())
198198

199199

200-
def test_should_not_allow_empty_statements(bolt_driver):
200+
def test_should_not_allow_empty_statements(bolt_driver, requires_bolt_4x):
201201
with bolt_driver.pipeline(flush_every=0) as pipeline:
202202
pipeline.push("")
203203
with pytest.raises(CypherSyntaxError):

0 commit comments

Comments
 (0)