File tree Expand file tree Collapse file tree 3 files changed +33
-5
lines changed Expand file tree Collapse file tree 3 files changed +33
-5
lines changed Original file line number Diff line number Diff line change 1+ import pytest
2+
3+ from helpers .clickhouse import get_clickhouse_cluster_service_spec
4+ from helpers .utils import (
5+ VALUES_DISABLE_EVERYTHING ,
6+ create_namespace_if_not_exists ,
7+ install_chart ,
8+ is_posthog_healthy ,
9+ merge_yaml ,
10+ wait_for_pods_to_be_ready ,
11+ )
12+
13+ VALUES = merge_yaml (
14+ VALUES_DISABLE_EVERYTHING ,
15+ """
16+ clickhouse:
17+ enabled: true
18+ """ ,
19+ )
20+
21+
22+ def test_default_service_type (kube ):
23+ create_namespace_if_not_exists ()
24+ install_chart (VALUES )
25+ wait_for_pods_to_be_ready (kube )
26+
27+ cluster_service = get_clickhouse_cluster_service_spec (kube )
28+ assert cluster_service .type == "ClusterIP" , "ClickHouse cluster service type is {}" .format (cluster_service .type )
Original file line number Diff line number Diff line change 22 "name" : " charts-clickhouse" ,
33 "repository" : " git@github.com:PostHog/charts-clickhouse.git" ,
44 "dependencies" : {
5- "eslint" : " v8.26 .0"
5+ "eslint" : " ^8.27 .0"
66 }
77}
Original file line number Diff line number Diff line change @@ -195,10 +195,10 @@ eslint-visitor-keys@^3.3.0:
195195 resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826"
196196 integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==
197197
198- eslint@v8.26 .0 :
199- version "8.26 .0"
200- resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.26 .0.tgz#2bcc8836e6c424c4ac26a5674a70d44d84f2181d "
201- integrity sha512-kzJkpaw1Bfwheq4VXUezFriD1GxszX6dUekM7Z3aC2o4hju+tsR/XyTC3RcoSD7jmy9VkPU3+N6YjVU2e96Oyg ==
198+ eslint@^8.27 .0 :
199+ version "8.27 .0"
200+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.27 .0.tgz#d547e2f7239994ad1faa4bb5d84e5d809db7cf64 "
201+ integrity sha512-0y1bfG2ho7mty+SiILVf9PfuRA49ek4Nc60Wmmu62QlobNR+CeXa4xXIJgcuwSQgZiWaPH+5BDsctpIW0PR/wQ ==
202202 dependencies :
203203 " @eslint/eslintrc" " ^1.3.3"
204204 " @humanwhocodes/config-array" " ^0.11.6"
You can’t perform that action at this time.
0 commit comments