forked from neo4j/neo4j-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stub tests migration part 4 (neo4j#847)
Removed RoutingDriverMultidatabaseBoltKitIT Migrated tests: - shouldDiscoverForDatabase -> test_should_read_successfully_from_reader_using_session_run (this tests seems to cover the same use-case and uses a non-default DB for 4+ versions) - shouldRetryOnEmptyDiscoveryResult -> test_should_read_successfully_on_empty_discovery_result_using_session_run - shouldThrowRoutingErrorIfDatabaseNotFound -> test_should_fail_with_routing_failure_on_db_not_found_discovery_failure - shouldBeAbleToServeReachableDatabase -> test_should_read_successfully_from_reachable_db_after_trying_unreachable_db (message check has been removed) - shouldPassSystemBookmarkWhenGettingRoutingTableForMultiDB -> test_should_pass_system_bookmark_when_getting_rt_for_multi_db (seems to be applicable to V4 only, also the stub server doesn't seem to check bookmarks) - shouldIgnoreSystemBookmarkWhenGettingRoutingTable -> test_should_ignore_system_bookmark_when_getting_rt_for_multi_db - shouldDriverVerifyConnectivity -> test_should_successfully_get_routing_table_with_context (pre-existing test that already tests the connectivity) Also removed redundant scripts and added code support to DriverError
- Loading branch information
1 parent
e780740
commit 47db433
Showing
12 changed files
with
9 additions
and
346 deletions.
There are no files selected for viewing
242 changes: 0 additions & 242 deletions
242
driver/src/test/java/org/neo4j/driver/integration/RoutingDriverMultidatabaseBoltKitIT.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
driver/src/test/resources/acquire_endpoints_v4_database_not_found.script
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
driver/src/test/resources/acquire_endpoints_v4_empty.script
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
driver/src/test/resources/acquire_endpoints_v4_multi_db.script
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
driver/src/test/resources/acquire_endpoints_v4_verify_connectivity.script
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
driver/src/test/resources/acquire_endpoints_v4_virtual_host.script
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
driver/src/test/resources/acquire_endpoints_v4_with_bookmark.script
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
driver/src/test/resources/read_server_v3_read_with_bookmark.script
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
driver/src/test/resources/read_server_v4_read_with_bookmark.script
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,5 +43,7 @@ public static class DriverErrorBody | |
private String id; | ||
|
||
private String errorType; | ||
|
||
private String code; | ||
} | ||
} |