From c6c3c4347b403a9dd70beef88a10efbb9d2f1567 Mon Sep 17 00:00:00 2001 From: Alexander Kazakov Date: Mon, 27 Jan 2020 20:47:05 +0300 Subject: [PATCH] Keep stderr when collecting stacktraces --- dbms/tests/clickhouse-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/tests/clickhouse-test b/dbms/tests/clickhouse-test index aeb60286c80..fc02d28a8fe 100755 --- a/dbms/tests/clickhouse-test +++ b/dbms/tests/clickhouse-test @@ -99,7 +99,7 @@ def get_processlist(client_cmd): def get_stacktraces(server_pid): - cmd = "gdb -batch -ex 'thread apply all backtrace' -p {} 2>/dev/null".format(server_pid) + cmd = "gdb -batch -ex 'thread apply all backtrace' -p {}".format(server_pid) try: return subprocess.check_output(cmd, shell=True) except Exception as ex: