Skip to content

Conversation

JuanLeee
Copy link
Contributor

@JuanLeee JuanLeee commented Sep 3, 2025

Updating integration tests for read write splitting with:

  • Updated connect_timeout since 10 is very aggressive and 30 will help relax issues with network connectivity.
  • Collect garbage collection
  • Enable all proxies
  • Close all connections in tests

@JuanLeee JuanLeee force-pushed the integration/flakey-tests branch from e487b2f to 4aeaf21 Compare September 3, 2025 17:10
@JuanLeee JuanLeee force-pushed the integration/flakey-tests branch from 4aeaf21 to f0cc93c Compare September 3, 2025 23:00
yield
ConnectionProviderManager.release_resources()
ConnectionProviderManager.reset_provider()
gc.collect()
Copy link
Contributor

Choose a reason for hiding this comment

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

curious why is this required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not required but ensures any objects like connections are deleted. There were issues with the integration tests not being about to make the initial connection and could be caused by existing resources not fully cleaned up.

@karenc-bq karenc-bq merged commit d811027 into aws:main Sep 4, 2025
6 checks passed
@JuanLeee JuanLeee deleted the integration/flakey-tests branch September 4, 2025 22:48
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.

4 participants