Skip to content

opt: split tpch stats quality tests#42970

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
RaduBerinde:split-tpch-stat-tests
Dec 5, 2019
Merged

opt: split tpch stats quality tests#42970
craig[bot] merged 2 commits intocockroachdb:masterfrom
RaduBerinde:split-tpch-stat-tests

Conversation

@RaduBerinde
Copy link
Copy Markdown
Member

@RaduBerinde RaduBerinde commented Dec 4, 2019

opt: split tpch stats quality tests

Splitting the tpch stats quality tests into more manageable multiple
files, one per query. This allows re-running only particular queries.

Release note: None


opt: convert panics to errors for stats directive

Currently if a plan changes and a save table name is no longer
correct, we get a panic. The panic is annoying to work with (it stops
running other subtests). This change converts the panic in this case
to an error.

Release note: None

Splitting the tpch stats quality tests into more manageable multiple
files, one per query. This allows re-running only particular queries.

Release note: None
@RaduBerinde RaduBerinde requested a review from rytaft December 4, 2019 23:10
@RaduBerinde RaduBerinde requested a review from a team as a code owner December 4, 2019 23:10
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Currently if a plan changes and a save table name is no longer
correct, we get a panic. The panic is annoying to work with (it stops
running other subtests). This change converts the panic in this case
to an error.

Release note: None
Copy link
Copy Markdown
Collaborator

@rytaft rytaft left a comment

Choose a reason for hiding this comment

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

:lgtm: Thanks for doing this!

Reviewed 23 of 23 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@RaduBerinde
Copy link
Copy Markdown
Member Author

bors r+

craig bot pushed a commit that referenced this pull request Dec 5, 2019
42970: opt: split tpch stats quality tests r=RaduBerinde a=RaduBerinde

opt: split tpch stats quality tests

Splitting the tpch stats quality tests into more manageable multiple
files, one per query. This allows re-running only particular queries.

Release note: None

----

opt: convert panics to errors for stats directive

Currently if a plan changes and a save table name is no longer
correct, we get a panic. The panic is annoying to work with (it stops
running other subtests). This change converts the panic in this case
to an error.

Release note: None


42987: blobs,changefeedccl: append ".tmp" to temp files + deflake TestChangefeedNemeses r=knz a=knz

Fixes #42978.

Prior to this test the blob storage would merely append random numbers
at the end of the file name to generate temp file names.  This was
confusing TestChangefeedNemeses which checks the validity of the
various files in the target directory.

This patch fixes it by:

- using a `.tmp` suffix for temp files
- excluding `.tmp` files from the walk performed by TestChangefeedNemeses

Release note: None

Co-authored-by: Radu Berinde <radu@cockroachlabs.com>
Co-authored-by: Raphael 'kena' Poss <knz@thaumogen.net>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 5, 2019

Build succeeded

@craig craig bot merged commit c5683d3 into cockroachdb:master Dec 5, 2019
@RaduBerinde RaduBerinde deleted the split-tpch-stat-tests branch December 5, 2019 16:28
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.

3 participants