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

add back test DB methods that are needed for teardown #173

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

jchappelow
Copy link
Contributor

This is replacing #170 since @brennanjl got the ABCI app in a runnable state in #172.

Here I'm just fixing a few things that were either unaddressed by or regressed in #169

This adds back a couple of methods on the wrappedSqliteClient in pkg/sql/testing that were there to prevent a panic due to double closing. These were accidentally removed in a previous commit.

This also removes an exported function that was mistakenly added in the last commit as well, UnmarshalSchema. There is already a deserialize method that also converts to the engine/type.Schema type.

Lastly, it fixes a compile error on one acceptance test file. Gavin is actually fixing them properly, but the intent of the last commit was to stop all the build errors.

This adds back a couple of methods on the wrappedSqliteClient
in pkg/sql/testing that were there to prevent a panic due to
double closing. These were accidentally removed in a previous
commit.

This also removes an exported function that was mistakenly
added in the last commit as well, UnmarshalSchema.
There is already a deserialize method that also converts
to the engine/type.Schema type.

Lastly, it fixes a compile error on one acceptance test file.
Gavin is actually fixing them properly, but the intent of the
last commit was to stop all the build errors.
@sonarcloud
Copy link

sonarcloud bot commented Aug 10, 2023

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@brennanjl brennanjl left a comment

Choose a reason for hiding this comment

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

thanks for re-adding this

@brennanjl brennanjl merged commit 51aa738 into main Aug 10, 2023
1 of 3 checks passed
@brennanjl brennanjl deleted the panic-test-fix branch August 10, 2023 14:07
@jchappelow jchappelow added this to the v0.6.0 milestone Sep 28, 2023
brennanjl pushed a commit that referenced this pull request Feb 26, 2024
This adds back a couple of methods on the wrappedSqliteClient
in pkg/sql/testing that were there to prevent a panic due to
double closing. These were accidentally removed in a previous
commit.

This also removes an exported function that was mistakenly
added in the last commit as well, UnmarshalSchema.
There is already a deserialize method that also converts
to the engine/type.Schema type.

Lastly, it fixes a compile error on one acceptance test file.
Gavin is actually fixing them properly, but the intent of the
last commit was to stop all the build errors.

Co-authored-by: Jonathan Chappelow <jonathan.chappelow@gmail.com>
brennanjl pushed a commit that referenced this pull request Feb 26, 2024
This adds back a couple of methods on the wrappedSqliteClient
in pkg/sql/testing that were there to prevent a panic due to
double closing. These were accidentally removed in a previous
commit.

This also removes an exported function that was mistakenly
added in the last commit as well, UnmarshalSchema.
There is already a deserialize method that also converts
to the engine/type.Schema type.

Lastly, it fixes a compile error on one acceptance test file.
Gavin is actually fixing them properly, but the intent of the
last commit was to stop all the build errors.

Co-authored-by: Jonathan Chappelow <jonathan.chappelow@gmail.com>
jchappelow added a commit that referenced this pull request Feb 26, 2024
This adds back a couple of methods on the wrappedSqliteClient
in pkg/sql/testing that were there to prevent a panic due to
double closing. These were accidentally removed in a previous
commit.

This also removes an exported function that was mistakenly
added in the last commit as well, UnmarshalSchema.
There is already a deserialize method that also converts
to the engine/type.Schema type.

Lastly, it fixes a compile error on one acceptance test file.
Gavin is actually fixing them properly, but the intent of the
last commit was to stop all the build errors.

Co-authored-by: Jonathan Chappelow <jonathan.chappelow@gmail.com>
brennanjl pushed a commit that referenced this pull request Feb 26, 2024
This adds back a couple of methods on the wrappedSqliteClient
in pkg/sql/testing that were there to prevent a panic due to
double closing. These were accidentally removed in a previous
commit.

This also removes an exported function that was mistakenly
added in the last commit as well, UnmarshalSchema.
There is already a deserialize method that also converts
to the engine/type.Schema type.

Lastly, it fixes a compile error on one acceptance test file.
Gavin is actually fixing them properly, but the intent of the
last commit was to stop all the build errors.

Co-authored-by: Jonathan Chappelow <jonathan.chappelow@gmail.com>
brennanjl pushed a commit that referenced this pull request Feb 26, 2024
This adds back a couple of methods on the wrappedSqliteClient
in pkg/sql/testing that were there to prevent a panic due to
double closing. These were accidentally removed in a previous
commit.

This also removes an exported function that was mistakenly
added in the last commit as well, UnmarshalSchema.
There is already a deserialize method that also converts
to the engine/type.Schema type.

Lastly, it fixes a compile error on one acceptance test file.
Gavin is actually fixing them properly, but the intent of the
last commit was to stop all the build errors.

Co-authored-by: Jonathan Chappelow <jonathan.chappelow@gmail.com>
brennanjl pushed a commit that referenced this pull request Feb 26, 2024
This adds back a couple of methods on the wrappedSqliteClient
in pkg/sql/testing that were there to prevent a panic due to
double closing. These were accidentally removed in a previous
commit.

This also removes an exported function that was mistakenly
added in the last commit as well, UnmarshalSchema.
There is already a deserialize method that also converts
to the engine/type.Schema type.

Lastly, it fixes a compile error on one acceptance test file.
Gavin is actually fixing them properly, but the intent of the
last commit was to stop all the build errors.

Co-authored-by: Jonathan Chappelow <jonathan.chappelow@gmail.com>
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.

None yet

3 participants