From 994ab7e4ac715263fd58a3079b71024d73dab9b4 Mon Sep 17 00:00:00 2001 From: Stephen Cathcart Date: Wed, 26 Jun 2024 16:57:53 +0100 Subject: [PATCH] Prepare 5.21.0 release (#585) * Prepare 5.21.0 release * Fixing name of skipped Testkit test * Disabling flakey stress test --- neo4j/internal/metadata/metadata.go | 2 +- test-stress/main.go | 4 +++- testkit-backend/backend.go | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/neo4j/internal/metadata/metadata.go b/neo4j/internal/metadata/metadata.go index 3c55d30e..497c700d 100644 --- a/neo4j/internal/metadata/metadata.go +++ b/neo4j/internal/metadata/metadata.go @@ -17,4 +17,4 @@ package metadata -const DriverVersion = "5.20.0" +const DriverVersion = "5.21.0" diff --git a/test-stress/main.go b/test-stress/main.go index a70927d9..4b00eab7 100644 --- a/test-stress/main.go +++ b/test-stress/main.go @@ -135,7 +135,9 @@ func main() { ReadQueryExecutor(ctx, driver, true), ReadQueryExecutor(ctx, driver, false), WriteQueryInTxExecutor(ctx, driver, true), - VaccuumQueryInTxExecutor(ctx, driver, true), + // TODO fix the test below. Causes ReadQueryExecutor and ReadQueryInTxExecutor to fail randomly as the + // result can contain a `Neo.TransientError.Transaction.Outdated` error if executed directly after this. + //VaccuumQueryInTxExecutor(ctx, driver, true), WriteQueryInTxExecutor(ctx, driver, false), ReadQueryInTxExecutor(ctx, driver, true), ReadQueryInTxExecutor(ctx, driver, false), diff --git a/testkit-backend/backend.go b/testkit-backend/backend.go index ec407c96..37c06c29 100644 --- a/testkit-backend/backend.go +++ b/testkit-backend/backend.go @@ -1625,8 +1625,8 @@ func testSkips() map[string]string { "stub.routing.test_routing_v*.RoutingV*.test_should_fail_on_routing_table_with_no_reader": "Driver retries to fetch a routing table up to 100 times if it's empty", "stub.routing.test_routing_v*.RoutingV*.test_should_fail_discovery_when_router_fails_with_unknown_code": "Unify: other drivers have a list of fast failing errors during discover: on anything else, the driver will try the next router", "stub.routing.test_routing_v*.RoutingV*.test_should_drop_connections_failing_liveness_check": "Liveness check error handling is not (yet) unified: https://github.com/neo-technology/drivers-adr/pull/83", - "stub.*.test_0_timeout": "Fixme: driver omits 0 as tx timeout value", - "stub.summary.test_summary.TestSummary.test_server_info": "pending unification: should the server address be pre or post DNS resolution?", + "stub.*.test_0_timeout": "Fixme: driver omits 0 as tx timeout value", + "stub.summary.test_summary.TestSummaryBasicInfo.test_server_info": "pending unification: should the server address be pre or post DNS resolution?", } }