Skip to content

Commit 54e3f92

Browse files
authored
Skip flaky test: test_should_write_successfully_on_leader_switch_using_tx_function (#905)
This test fails because of Javascript driver doesn't validate the tx before send it to the tx function. In this case, the transaction could be in a failed state when `tx.run` get called and it produces the `DriverError : : Cannot run query in this transaction, because it has been rolled back either because of an error or explicit termination. (N/A)`. This errant behaviour of the driver was fixed in the 5.0 with the TransactionPromise.
1 parent 2004e84 commit 54e3f92

File tree

1 file changed

+4
-0
lines changed
  • packages/testkit-backend/src/skipped-tests

1 file changed

+4
-0
lines changed

packages/testkit-backend/src/skipped-tests/common.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import skip, { ifEquals, ifEndsWith } from './skip'
22

33
const skippedTests = [
4+
skip(
5+
'Fails when because tx function could start with not broken transations',
6+
ifEndsWith('test_should_write_successfully_on_leader_switch_using_tx_function'),
7+
),
48
skip(
59
'Fail while enable Temporary::ResultKeys',
610
ifEquals('neo4j.test_bookmarks.TestBookmarks.test_can_pass_bookmark_into_next_session'),

0 commit comments

Comments
 (0)