Skip to content

Update and extend tests for connection_acquisition_timeout setting. #474

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
merged 7 commits into from
Jun 23, 2022

Conversation

robsdedude
Copy link
Contributor

@robsdedude robsdedude commented Jun 13, 2022

Tests did not encompass routing drivers

Python is expected to fail until this pr is merged

This PR adds tests for ADR 006 (internal link).

Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The port change in TestMaxConnectionPoolSize can make javascript pipeline unstable. 🔥 🚒

Also added a comment to avoid future changes to touch the port.
 * `sessionConnectionTimeoutMs`
 * `updateRoutingTableTimeoutMs`
Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⏲️ 💥

@robsdedude
Copy link
Contributor Author

Merging on red: JS flakiness (timed out), Python is expected to fail (see PR description + UTC fix pending)

robsdedude added a commit that referenced this pull request Jun 23, 2022
Backport of #474
and #404

[ADR 006](https://github.com/neo-technology/drivers-adr/blob/main/adrs/006-acquisition-timeouts.md)

* Update and extend tests for `connection_acquisition_timeout` setting.

Tests did not encompass routing drivers

* Add new timeout driver config options

 * `sessionConnectionTimeoutMs`
 * `updateRoutingTableTimeoutMs`

* Add new feature flag
 * `API_CONNECTION_ACQUISITION_TIMEOUT = Feature:API:ConnectionAcquisitionTimeout"`
@robsdedude robsdedude merged commit e30479e into 5.0 Jun 23, 2022
@robsdedude robsdedude deleted the connection-acquisition-timeout-routing branch June 23, 2022 07:55
robsdedude added a commit that referenced this pull request Aug 2, 2022
robsdedude added a commit that referenced this pull request Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants