[CI Fest] Split dynamic tests and rewrite them from sh to sql to avoid timeouts#66981
Merged
Avogar merged 1 commit intoClickHouse:masterfrom Jul 24, 2024
Merged
Conversation
Contributor
|
This is an automated comment for commit 0324869 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
evillique
approved these changes
Jul 23, 2024
| function test() | ||
| { | ||
| echo "test" | ||
| $CH_CLIENT -q "insert into test select number, number from numbers(100000) settings min_insert_block_size_rows=50000" |
Member
There was a problem hiding this comment.
As an option, you can merge all the queries inside test() into a single query to not duplicate the tests. But if it would still timeout then it is ok :)
Member
Author
There was a problem hiding this comment.
First I also thougth about it, but decided to split and rewrite everything to sql test to just forget about this problem with timeouts. I think a bit duplicated queries in tests is better then flaky tests :)
Member
Author
|
18 tasks
robot-clickhouse
added a commit
that referenced
this pull request
Jul 26, 2024
…em from sh to sql to avoid timeouts
robot-clickhouse-ci-2
added a commit
that referenced
this pull request
Jul 26, 2024
Backport #66981 to 24.7: [CI Fest] Split dynamic tests and rewrite them from sh to sql to avoid timeouts
This was referenced Jul 29, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
While reading the logs of these tests with timeouts I noticed that in most cases the queries itself are quite fast but the TCPHandler handles requests really slow and these tests contain quite a lot of connections. Rewriting them to .sql should speed up them significantly.
Closes #66048
CI Settings (Only check the boxes if you know what you are doing):