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

testlogic: deflake new_schema_changer test case #95826

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

postamar
Copy link

The expected output of a system.eventlog query was rewritten in e333a39 with more than one record but the query was missing an ORDER clause, leading to non-deterministic output. This commit fixes this by adding the missing ORDER clause.

Fixes #95825.

Release note: None

The expected output of a system.eventlog query was rewritten in
e333a39 with more than one record but
the query was missing an ORDER clause, leading to non-deterministic
output. This commit fixes this by adding the missing ORDER clause.

Fixes cockroachdb#95825.

Release note: None
@postamar postamar requested a review from a team January 25, 2023 14:31
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

LGTM

There's also a rowsort directive on query you could have used but this is as good or better.

@postamar
Copy link
Author

I'm aware, I just conformed to the existing pattern. This is one of these cases where UDFs would be useful. Perhaps there's room for a testlogic-wide body of UDFs which automatically get added after CREATE DATABASE test?

@postamar
Copy link
Author

bors r+

@ajwerner
Copy link
Contributor

bors r+ p=999

@craig
Copy link
Contributor

craig bot commented Jan 25, 2023

Already running a review

@craig
Copy link
Contributor

craig bot commented Jan 25, 2023

Build succeeded:

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.

logictest: event log test cases are flaky
3 participants