Skip to content

Conversation

@stepansergeevitch
Copy link
Contributor

Removed Connection.close call from connection finalizer. This simplifies Connection class itself and exposes workflows where connections are not closed. Despite closing, finalizer will check if connection is closed on delete and will raise a warning if not.
Improved unit and integration tests to get rid of all not closed connections.
Also, this PR contains a fix for integration tests. It seems like type system has slightly changed for firebolt recently. For example, -30000 is now treated as Int16, while it used to be Int32. Updated tests cases respectively

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 6, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@stepansergeevitch stepansergeevitch changed the title No automatic close feat: No automatic close Dec 6, 2021
@stepansergeevitch stepansergeevitch merged commit a0aaafc into main Dec 6, 2021
@stepansergeevitch stepansergeevitch deleted the no_automatic_close branch December 6, 2021 14:30
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.

3 participants