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

adding missing test cases for prepared tests #4163

Merged
merged 27 commits into from
Aug 24, 2022
Merged

adding missing test cases for prepared tests #4163

merged 27 commits into from
Aug 24, 2022

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Aug 22, 2022

Companion PR:

Adds skipped tests for Queries that don't yet work Prepared

@jycor jycor marked this pull request as draft August 22, 2022 18:14
@jycor jycor marked this pull request as ready for review August 23, 2022 22:45
Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

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

LGTM, some small comments

@@ -822,29 +824,6 @@ var HistorySystemTableScriptTests = []queries.ScriptTest{
{3, 4},
},
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

it might be easier to leave these here with SkipPrepared=true, but still append to a new list of tests titled BrokenHistorySystemTableScriptTests .

Copy link
Contributor

Choose a reason for hiding this comment

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

in which case you don't need the comment above

@@ -1073,6 +1113,35 @@ func TestHistorySystemTable(t *testing.T) {
enginetest.TestScript(t, harness, test)
})
}
for _, test := range BrokenHistorySystemTableScriptTests {
harness.engine = nil
Copy link
Contributor

Choose a reason for hiding this comment

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

you verified that the tests that include this cannot reuse the engine?

@@ -66,21 +66,43 @@ func TestQueries(t *testing.T) {
func TestSingleQuery(t *testing.T) {
t.Skip()

harness := newDoltHarness(t)
Copy link
Contributor

Choose a reason for hiding this comment

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

in general it is courteous to limit unnecessary changes that make PRs more difficult to read

@jycor jycor merged commit ef46c00 into main Aug 24, 2022
@Hydrocharged Hydrocharged deleted the james/prepareds branch October 13, 2022 12:46
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.

2 participants