-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
- 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) |
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.
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) { |
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.
Linter finding: consistently use pointer receiver.
@@ -88,6 +88,7 @@ func (f ScriptFixture) GetMetaDataSchemaName() string { | |||
} | |||
|
|||
func (f ScriptFixture) Cleanup(t *testing.T) { | |||
t.Helper() |
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.
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) |
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.
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> |
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.
Explicitly set Java version after upgrading PK
Quality Gate failedFailed conditions |
Closes #184