Skip to content

Commit c59a54a

Browse files
committed
fixup! WiP
1 parent 195525c commit c59a54a

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
- ⚠️ `neo4j::error::ServerError::new(...)` has been removed.
1515
User-code should not need to create arbitrary `ServerError`s.
1616
In return, `ServerError` now implements `Clone`.
17+
- Add support for Bolt 5.8 (home database resolution cache)
18+
- Includes an optimization where the driver uses a home/default database cache to perform optimistic routing under certain circumstances, saving a full round trip. See the [PR description](https://github.com/robsdedude/neo4j-rust-driver/pull/28) for more details.
1719
- Add support for bolt handshake manifest v1.
1820

1921
**🔧 Fixes**

neo4j/src/driver/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ impl ConnectionConfig {
795795
}
796796
}
797797
Some(query) => {
798-
if query == "" {
798+
if query.is_empty() {
799799
Some(HashMap::new())
800800
} else {
801801
if !routing {

testkit_backend/src/testkit_backend/responses.rs

+8
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ fn get_plain_skipped_tests() -> &'static HashMap<&'static str, &'static str> {
129129
"stub.summary.test_summary.TestSummaryNotifications4x4.test_no_notifications",
130130
"An empty list is returned when there are no notifications",
131131
),
132+
(
133+
"stub.driver_parameters.test_connection_acquisition_timeout_ms.TestConnectionAcquisitionTimeoutMs.test_does_not_encompass_router_route_response",
134+
"Pending driver unification: only some drivers consider a single connection acquisition timeout for all operations on acquisition (like fetching routing table) and some consider a separate timeout for each operation",
135+
),
136+
(
137+
"stub.driver_parameters.test_connection_acquisition_timeout_ms.TestConnectionAcquisitionTimeoutMs.test_router_handshake_has_own_timeout_in_time",
138+
"Pending driver unification: only some drivers consider a single connection acquisition timeout for all operations on acquisition (like fetching routing table) and some consider a separate timeout for each operation",
139+
),
132140
(
133141
"neo4j.test_summary.TestSummary.test_no_notification_info",
134142
"An empty list is returned when there are no notifications",

0 commit comments

Comments
 (0)