Skip to content

Commit

Permalink
reduce the number of nodes to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Selfeer committed Oct 10, 2024
1 parent 5c12d6d commit ce7d165
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,44 +52,44 @@ services:
zookeeper:
condition: service_healthy

clickhouse1:
extends:
file: clickhouse-service.yml
service: clickhouse
hostname: clickhouse1
volumes:
- "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse1/database/:/var/lib/clickhouse/"
- "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse1/logs/:/var/log/clickhouse-server/"
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse1/config.d/macros.xml:/etc/clickhouse-server/config.d/macros.xml"
depends_on:
zookeeper:
condition: service_healthy

clickhouse2:
extends:
file: clickhouse-service.yml
service: clickhouse
hostname: clickhouse2
volumes:
- "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse2/database/:/var/lib/clickhouse/"
- "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse2/logs/:/var/log/clickhouse-server/"
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse2/config.d/macros.xml:/etc/clickhouse-server/config.d/macros.xml"
depends_on:
zookeeper:
condition: service_healthy

clickhouse3:
extends:
file: clickhouse-service.yml
service: clickhouse
hostname: clickhouse3
volumes:
- "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse3/database/:/var/lib/clickhouse/"
- "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse3/logs/:/var/log/clickhouse-server/"
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse3/config.d/macros.xml:/etc/clickhouse-server/config.d/macros.xml"
depends_on:
zookeeper:
condition: service_healthy
# clickhouse1:
# extends:
# file: clickhouse-service.yml
# service: clickhouse
# hostname: clickhouse1
# volumes:
# - "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse1/database/:/var/lib/clickhouse/"
# - "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse1/logs/:/var/log/clickhouse-server/"
# - "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse1/config.d/macros.xml:/etc/clickhouse-server/config.d/macros.xml"
# depends_on:
# zookeeper:
# condition: service_healthy
#
# clickhouse2:
# extends:
# file: clickhouse-service.yml
# service: clickhouse
# hostname: clickhouse2
# volumes:
# - "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse2/database/:/var/lib/clickhouse/"
# - "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse2/logs/:/var/log/clickhouse-server/"
# - "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse2/config.d/macros.xml:/etc/clickhouse-server/config.d/macros.xml"
# depends_on:
# zookeeper:
# condition: service_healthy
#
# clickhouse3:
# extends:
# file: clickhouse-service.yml
# service: clickhouse
# hostname: clickhouse3
# volumes:
# - "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse3/database/:/var/lib/clickhouse/"
# - "${CLICKHOUSE_TESTS_DIR}/_instances_auto/clickhouse3/logs/:/var/log/clickhouse-server/"
# - "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse3/config.d/macros.xml:/etc/clickhouse-server/config.d/macros.xml"
# depends_on:
# zookeeper:
# condition: service_healthy


# dummy service which does nothing, but allows to postpone
Expand All @@ -99,12 +99,12 @@ services:
depends_on:
clickhouse:
condition: service_healthy
clickhouse1:
condition: service_healthy
clickhouse2:
condition: service_healthy
clickhouse3:
condition: service_healthy
# clickhouse1:
# condition: service_healthy
# clickhouse2:
# condition: service_healthy
# clickhouse3:
# condition: service_healthy
zookeeper:
condition: service_healthy

Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def regression(
nodes = {
"clickhouse-sink-connector-lt": ("clickhouse-sink-connector-lt",),
"mysql-master": ("mysql-master",),
"clickhouse": ("clickhouse", "clickhouse1", "clickhouse2", "clickhouse3"),
"clickhouse": ("clickhouse"),
"zookeeper": ("zookeeper",),
}

Expand Down

0 comments on commit ce7d165

Please sign in to comment.