Skip to content

Commit 4c200f9

Browse files
authored
Merge pull request #968 from Altinity/backports/project-antalya/fix-02116_clickhouse_stderr
Antalya 25.6.5 Partial backport of ClickHouse#83121 Revert "Revert "Reintroduce async logging""
2 parents f7fed0f + 83494c3 commit 4c200f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/queries/0_stateless/02116_clickhouse_stderr.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
2222
cd "$test_dir" || exit 1
2323

2424
stderr=$(mktemp -t clickhouse.XXXXXX)
25-
$CLICKHOUSE_SERVER_BINARY -- --logger.stderr="$stderr" 2>/dev/null
25+
# It will fail to start because the port is already in use
26+
$CLICKHOUSE_SERVER_BINARY -- --listen_host "${CLICKHOUSE_HOST}" --tcp_port "$CLICKHOUSE_PORT_TCP" --logger.stderr="$stderr" 2>/dev/null
2627
# -s -- check that stderr was created and is not empty
2728
test -s "$stderr" || exit 2
2829
rm "$stderr"

0 commit comments

Comments
 (0)