Skip to content

Commit 4299a2f

Browse files
committed
Merge remote-tracking branch 'altinity/0.24.4' into 0.24.4
2 parents b2417fc + cf653c3 commit 4299a2f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/e2e/manifests/chi/test-009-operator-upgrade-2.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ spec:
7373
volumeMounts:
7474
- name: aws-ebs-volume-claim
7575
mountPath: /var/lib/clickhouse
76-
lifecycle:
77-
preStop:
78-
exec:
79-
command: ["/bin/sh", "-c", "pkill -SIGTERM clickhouse-server"]
76+
command:
77+
- /bin/bash
78+
- -c
79+
- /usr/bin/clickhouse-server --config-file=/etc/clickhouse-server/config.xml
8080
terminationGracePeriodSeconds: 360

tests/e2e/test_operator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def test_operator_upgrade(self, manifest, service, version_from, version_to=None
512512
with When("I create new shells"):
513513
shell_1 = get_shell()
514514
shell_2 = get_shell()
515-
shell_3 = get_shell()
515+
# shell_3 = get_shell()
516516

517517
Check("run query until receive stop event", test=run_select_query, parallel=True)(
518518
host=service,
@@ -574,7 +574,7 @@ def test_operator_upgrade(self, manifest, service, version_from, version_to=None
574574
@Name("test_009_1. Test operator upgrade")
575575
@Requirements(RQ_SRS_026_ClickHouseOperator_Managing_UpgradingOperator("1.0"))
576576
@Tags("NO_PARALLEL")
577-
def test_009_1(self, version_from="0.23.7", version_to=None):
577+
def test_009_1(self, version_from="0.24.3", version_to=None):
578578
if version_to is None:
579579
version_to = self.context.operator_version
580580

@@ -590,7 +590,7 @@ def test_009_1(self, version_from="0.23.7", version_to=None):
590590
@TestScenario
591591
@Name("test_009_2. Test operator upgrade")
592592
@Tags("NO_PARALLEL")
593-
def test_009_2(self, version_from="0.23.7", version_to=None):
593+
def test_009_2(self, version_from="0.24.3", version_to=None):
594594
if version_to is None:
595595
version_to = self.context.operator_version
596596

0 commit comments

Comments
 (0)