ClickHouse/dbms/tests/integration/image/dockerd-entrypoint.sh
2019-01-30 11:24:16 +03:00

15 lines
449 B
Bash
Executable File

#!/bin/bash
set -e
dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 &>/var/log/somefile &
sleep 3 # to actual start
echo "Start tests"
export CLICKHOUSE_TESTS_SERVER_BIN_PATH=/clickhouse
export CLICKHOUSE_TESTS_CLIENT_BIN_PATH=/clickhouse
export CLICKHOUSE_TESTS_BASE_CONFIG_DIR=/clickhouse-config
export CLICKHOUSE_ODBC_BRIDGE_BINARY_PATH=/clickhouse-odbc-bridge
cd /ClickHouse/dbms/tests/integration && pytest $PYTEST_OPTS