ClickHouse/tests
Azat Khuzhin 1fdee81ad5 Fix leftover processes/hangs in tests
One of such cases is 02479_race_condition_between_insert_and_droppin_mv
[1], yes it can be fixed (by using fixed number of iterations, or with
some bash trickery), but it is better to fix them completelly,
eventually such tests will be submitted and pass review anyway.

By allocating process group for each test we can kill all the processes
in this process group, and this what this patch does.

This will also fix some test hangs (like in [1]) as well as some
possible issues in stress tests.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/0/e2c1230b00386c4d0096a245396ab3be7ce60950/stateless_tests__release__analyzer_/run.log

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
(cherry picked from commit 72fa58e192)
2023-12-24 09:43:58 +01:00
..
ci Add a hack to un-/mark PR as a draft 2023-12-22 22:26:38 +01:00
config Better config 2023-12-18 17:23:41 +01:00
fuzz
instructions
integration Merge pull request #58202 from vitlibar/explicit-finalize-in-zip-archive-writer 2023-12-24 03:30:21 +01:00
jepsen.clickhouse
perf_drafts
performance Merge branch 'ClickHouse:master' into if-opt 2023-12-21 09:50:23 +08:00
queries Fix leftover processes/hangs in tests 2023-12-24 09:43:58 +01:00
sqllogic
.gitignore
.rgignore
analyzer_integration_broken_tests.txt
analyzer_tech_debt.txt Remove fixed tests from analyzer_tech_debt.txt 2023-12-19 13:18:28 +01:00
clickhouse-test Fix leftover processes/hangs in tests 2023-12-24 09:43:58 +01:00
README.md
tsan_suppressions.txt
ubsan_suppressions.txt

Find CI documents and instructions on running CI checks localy here.