ClickHouse/tests
Azat Khuzhin 0b58a149d2 clickhouse-test: send TERM to all childs (to avoid hung check triggering)
This is another try of not leaving child processes in clickhouse-test,
first one was in [1] by @akuzm:

  "I tried to do this earlier with a separate process group + atexit callbacks:
  573983d407 (diff-3a359de18cacf146f406a7ae332fb47196aa5e0aa430eb4b157a202a3cb8e6e3R578)

  But that commit was later reverted because it also tried to switch to
  multithreading instead of multiprocessing, and that didn't go good.
  SIG_IGN and SIG_DFL were broken then
  (https://bugs.python.org/issue23395), now they are fixed but not quite
  but maybe it's not relevant for us."

I looked (only briefly) through that bug report in python, but I don't
see any issues with killing child processes during testing this patch.

Plus to me it is better to get some unknown python error (and fix it
somehow) instead of leaving child processes.

v2: correctly catch INT/TERM/HUP too
2021-05-01 08:46:59 +03:00
..
ci Remove obsolete compilers 2021-04-28 07:16:48 +03:00
config Preserve errors for INSERT into Distributed 2021-04-28 22:33:29 +03:00
external_models/catboost
fuzz
instructions
integration Improve test_insert_into_distributed 2021-04-29 10:35:09 +03:00
jepsen.clickhouse-keeper
perf_drafts
performance Fix error in perf test 2021-04-22 08:43:20 +03:00
queries Merge pull request #23823 from azat/tests-wait 2021-05-01 08:30:32 +03:00
testflows Update regression.py 2021-04-22 01:17:26 +03:00
users.d
.gitignore
clickhouse-client.xml
clickhouse-test clickhouse-test: send TERM to all childs (to avoid hung check triggering) 2021-05-01 08:46:59 +03:00
clickhouse-test-server
client-test.xml
CMakeLists.txt
decimals_dictionary.xml
ints_dictionary.xml
msan_suppressions.txt
server-test.xml
stress
strings_dictionary.xml
tsan_suppressions.txt
ubsan_suppressions.txt
users.xml