Skip to content

Commit 2328c91

Browse files
committed
Add Temporary:FastFailingDiscovery and Temporary:ResultKeys feature flags (neo4j#858)
Most of the tests in `Temporary:FastFailingDiscovery` are skipped and they will be evaluated afterwards. Skip tests related to `Temporary:ResultKeys`
1 parent 4b94cbb commit 2328c91

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

packages/testkit-backend/src/request-handlers.js

+2
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,8 @@ export function GetFeatures (_context, _params, wire) {
334334
'Feature:Bolt:4.4',
335335
'Feature:API:Result.List',
336336
'Temporary:ConnectionAcquisitionTimeout',
337+
'Temporary:FastFailingDiscovery',
338+
'Temporary:ResultKeys',
337339
...SUPPORTED_TLS
338340
]
339341
})

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

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

33
const skippedTests = [
4+
skip(
5+
'Fail while enable Temporary::ResultKeys',
6+
ifEquals('neo4j.test_bookmarks.TestBookmarks.test_can_pass_bookmark_into_next_session'),
7+
ifEquals('neo4j.test_tx_run.TestTxRun.test_consume_after_commit'),
8+
ifEquals('neo4j.test_tx_run.TestTxRun.test_tx_configuration'),
9+
ifEquals('neo4j.test_tx_run.TestTxRun.test_interwoven_queries'),
10+
ifEquals('neo4j.test_tx_run.TestTxRun.test_parallel_queries'),
11+
ifEquals('neo4j.test_session_run.TestSessionRun.test_iteration_smaller_than_fetch_size'),
12+
ifEquals('neo4j.test_tx_func_run.TestTxFuncRun.test_tx_func_configuration')
13+
),
14+
skip(
15+
'Fail while enable Temporary:FastFailingDiscovery',
16+
ifEndsWith('test_should_request_rt_from_all_initial_routers_until_successful_on_authorization_expired'),
17+
ifEndsWith('test_should_request_rt_from_all_initial_routers_until_successful_on_unknown_failure'),
18+
ifEndsWith('test_should_fail_with_routing_failure_on_any_security_discovery_failure'),
19+
ifEndsWith('test_should_fail_with_routing_failure_on_invalid_bookmark_mixture_discovery_failure'),
20+
ifEndsWith('test_should_fail_with_routing_failure_on_invalid_bookmark_discovery_failure'),
21+
ifEndsWith('test_should_fail_with_routing_failure_on_forbidden_discovery_failure')
22+
),
423
skip(
524
'Not support by the JS driver',
625
ifEquals('neo4j.sessionrun.TestSessionRun.test_partial_iteration')

0 commit comments

Comments
 (0)