Skip to content
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

#184: Upgrade dependencies #185

Merged
merged 8 commits into from
Nov 20, 2024
Merged

#184: Upgrade dependencies #185

merged 8 commits into from
Nov 20, 2024

Conversation

kaklakariada
Copy link
Collaborator

Closes #184

- goerr113 # Using static errors is not necessary (https://github.com/Djarvur/go-err113)
- err113 # Using static errors is not necessary (https://github.com/Djarvur/go-err113)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note: upgrade of linter required changes in this config file and added new warnings. I fixed them all.

func (c exasolSqlClient) extractResult(rows *sql.Rows) (*QueryResult, error) {
func (c *exasolSqlClient) extractResult(rows *sql.Rows) (*QueryResult, error) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Linter finding: consistently use pointer receiver.

@@ -88,6 +88,7 @@ func (f ScriptFixture) GetMetaDataSchemaName() string {
}

func (f ScriptFixture) Cleanup(t *testing.T) {
t.Helper()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Linter finding: call this method first in all helper methods.

suite.Equal(&backend.QueryResult{Columns: []backend.Column{{Name: "COL", TypeName: "DECIMAL"}}, Rows: []backend.Row{{(float64(1))}}}, result)
suite.Equal(&backend.QueryResult{Columns: []backend.Column{{Name: "COL", TypeName: "DECIMAL"}}, Rows: []backend.Row{{(int64(1))}}}, result)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Seems to be caused by updated JSON in WebSocket protocol of Exasol 8.32.0

<junit.version>5.10.2</junit.version>
<java.version>11</java.version>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Explicitly set Java version after upgrading PK

ckunki
ckunki previously approved these changes Nov 20, 2024
Copy link

sonarcloud bot commented Nov 20, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
33.3% Coverage on New Code (required ≥ 70%)

See analysis details on SonarQube Cloud

@kaklakariada kaklakariada merged commit c5b04fb into main Nov 20, 2024
8 of 9 checks passed
@kaklakariada kaklakariada deleted the kaklakariada/issue184 branch November 20, 2024 07:50
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.

Update test dependencies of extension-manager-integration-test-java to fix vulnerabilities
2 participants