-
Notifications
You must be signed in to change notification settings - Fork 152
Surface more errors on failing to initially retrieve a RT #811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
bigmontz
merged 11 commits into
neo4j:5.0
from
bigmontz:4.4-surface-error-discoverying-rt
Mar 16, 2022
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
bd22a20
Surface more errors on failing to initially retrieve a RT
bigmontz 47b7508
Do not hard fail in AuthExpired and skip tests
bigmontz f66566c
Add unit tests
bigmontz a13f675
Fix skipped test
bigmontz 98e5607
Update IT test
bigmontz c2d8bdc
Test
bigmontz 3734857
test3?
bigmontz b95aaef
ACleaning up
bigmontz dcc3467
Unskip tests
bigmontz 3b74dc9
Remove unexported dependency
bigmontz e13a6a0
Apply suggestions from code review
bigmontz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -21,15 +21,6 @@ const skippedTests = [ | |
ifEquals('neo4j.test_session_run.TestSessionRun.test_iteration_smaller_than_fetch_size'), | ||
ifEquals('neo4j.test_tx_func_run.TestTxFuncRun.test_tx_func_configuration') | ||
), | ||
skip( | ||
'Fail while enable Temporary:FastFailingDiscovery', | ||
ifEndsWith('test_should_request_rt_from_all_initial_routers_until_successful_on_authorization_expired'), | ||
ifEndsWith('test_should_request_rt_from_all_initial_routers_until_successful_on_unknown_failure'), | ||
ifEndsWith('test_should_fail_with_routing_failure_on_any_security_discovery_failure'), | ||
ifEndsWith('test_should_fail_with_routing_failure_on_invalid_bookmark_mixture_discovery_failure'), | ||
ifEndsWith('test_should_fail_with_routing_failure_on_invalid_bookmark_discovery_failure'), | ||
ifEndsWith('test_should_fail_with_routing_failure_on_forbidden_discovery_failure') | ||
), | ||
Comment on lines
-24
to
-32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎉 |
||
skip('Flacky because sometimes the connection is actually available', | ||
ifEndsWith('test_should_enforce_pool_size_per_cluster_member') | ||
), | ||
|
@@ -108,6 +99,15 @@ const skippedTests = [ | |
'test_should_use_resolver_during_rediscovery_when_existing_routers_fail' | ||
) | ||
), | ||
skip( | ||
'Needs to implement "domain_name_resolver_fn"', | ||
ifEndsWith( | ||
'test_should_request_rt_from_all_initial_routers_until_successful_on_unknown_failure', | ||
), | ||
ifEndsWith( | ||
'test_should_request_rt_from_all_initial_routers_until_successful_on_authorization_expired' | ||
) | ||
), | ||
skip( | ||
'Needs investigation. It is only failing in the RoutingV3 case', | ||
ifEndsWith( | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A prime example of security by obscurity 😜