Skip to content

Commit 65109be

Browse files
committed
fix TestRestoreDistributedCluster for 20.3, try rollback to musl.cc in Dockerfile
Signed-off-by: Slach <[email protected]>
1 parent cbdacef commit 65109be

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ RUN rm -fv /etc/apt/sources.list.d/clickhouse.list && \
1919
# todo ugly fix for ugly fix, musl.cc is not available from github runner \
2020
DISTRIB_RELEASE=$(cat /etc/lsb-release | grep DISTRIB_RELEASE | cut -d "=" -f 2) && \
2121
echo ${DISTRIB_RELEASE} && \
22-
wget -nv -O /tmp/megacmd.deb https://mega.nz/linux/repo/xUbuntu_${DISTRIB_RELEASE}/amd64/megacmd-xUbuntu_${DISTRIB_RELEASE}_amd64.deb && \
23-
apt install -y "/tmp/megacmd.deb" && \
24-
mega-get https://mega.nz/file/zQwVHSYb#8WqqMUCTbbEVKDW55NPrRnM2-4SC-numNCLDKoTWtwQ /root/ && \
25-
# wget -nv -P /root/ https://musl.cc/aarch64-linux-musl-cross.tgz && \
22+
# wget -nv -O /tmp/megacmd.deb https://mega.nz/linux/repo/xUbuntu_${DISTRIB_RELEASE}/amd64/megacmd-xUbuntu_${DISTRIB_RELEASE}_amd64.deb && \
23+
# apt install -y "/tmp/megacmd.deb" && \
24+
# mega-get https://mega.nz/file/zQwVHSYb#8WqqMUCTbbEVKDW55NPrRnM2-4SC-numNCLDKoTWtwQ /root/ && \
25+
wget -nv -P /root/ https://musl.cc/aarch64-linux-musl-cross.tgz && \
2626
tar -xvf /root/aarch64-linux-musl-cross.tgz -C /root/ && \
2727
mkdir -p /root/go/
2828

test/integration/integration_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2921,6 +2921,7 @@ func TestRestoreDistributedCluster(t *testing.T) {
29212921

29222922
// remove cluster and wait configuration reload
29232923
env.DockerExecNoError(r, "clickhouse", "bash", "-c", "rm -rfv /etc/clickhouse-server/config.d/new-cluster.xml")
2924+
env.queryWithNoError(r, "SYSTEM RELOAD CONFIG")
29242925
newClusterExists := uint64(1)
29252926
for i := 0; i < 60 && newClusterExists == 1; i++ {
29262927
r.NoError(env.ch.SelectSingleRowNoCtx(&newClusterExists, "SELECT count() FROM system.clusters WHERE cluster='new_cluster'"))

0 commit comments

Comments
 (0)