File tree Expand file tree Collapse file tree 7 files changed +10
-4
lines changed
cases/logging-window-function Expand file tree Collapse file tree 7 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,8 @@ function ci::install_pulsar_charts() {
9292 helm repo add grafana https://grafana.github.io/helm-charts
9393 helm repo update
9494 yq -i ' .dependencies[0].repository = "https://grafana.github.io/helm-charts"' charts/pulsar/requirements.yaml
95+ # the superset chart seems got some issue, so we remove it
96+ yq -i ' del(.dependencies[1])' charts/pulsar/requirements.yaml
9597 helm dependency update charts/pulsar
9698 ${HELM} install sn-platform --set initialize=true --values charts/pulsar/mini_values.yaml charts/pulsar --debug
9799
Original file line number Diff line number Diff line change 3939 helm repo add grafana https://grafana.github.io/helm-charts
4040 helm repo update
4141 yq -i '.dependencies[0].repository = "https://grafana.github.io/helm-charts"' charts/pulsar/requirements.yaml
42+ yq -i 'del(.dependencies[1])' charts/pulsar/requirements.yaml
4243 helm dependency update charts/pulsar
4344 helm install ${PULSAR_RELEASE_NAME} --set initialize=true --values ../.ci/clusters/values_skywalking_e2e_cluster_with_oauth.yaml charts/pulsar
4445
Original file line number Diff line number Diff line change 3939 helm repo add grafana https://grafana.github.io/helm-charts
4040 helm repo update
4141 yq -i '.dependencies[0].repository = "https://grafana.github.io/helm-charts"' charts/pulsar/requirements.yaml
42+ yq -i 'del(.dependencies[1])' charts/pulsar/requirements.yaml
4243 helm dependency update charts/pulsar
4344 helm install ${PULSAR_RELEASE_NAME} --set initialize=true --values ../.ci/clusters/values_skywalking_e2e_cluster_with_oauth.yaml charts/pulsar
4445
Original file line number Diff line number Diff line change 3636 windowConfig :
3737 windowLengthCount : 10
3838 slidingIntervalCount : 5
39- processingGuarantee : ATLEAST_ONCE
39+ processingGuarantees : ATLEAST_ONCE
4040 # the processingGuarantee should be manual for window function
4141 # see: https://github.com/apache/pulsar/pull/16279/files#diff-c77c024ccb31c94a7aa80cb8e96d7e370709157bdc104a1be7867fb6c7aa0586R318-R319
4242 processingGuarantee : manual
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ if [ $? -ne 0 ]; then
4444fi
4545
4646# verify the `processingGuarantees` config
47- kubectl logs window-function-sample | grep processingGuarantees=ATLEAST_ONCE
47+ kubectl logs window-function-sample-function-0 | grep processingGuarantees=ATLEAST_ONCE
4848if [ $? -ne 0 ]; then
4949 kubectl delete -f " ${manifests_file} " > /dev/null 2>&1 || true
5050 exit 1
8787# fi
8888
8989verify_log_result=$( kubectl logs -l compute.functionmesh.io/name=window-function-sample --tail=-1 | grep -e " -window-log" | wc -l)
90- if [ $verify_log_result -ne 0 ]; then
90+ if [[ $verify_log_result -eq 15 ] ]; then
9191 sub_name=$( echo $RANDOM | md5sum | head -c 20; echo ; )
9292 verify_log_topic_result=$( kubectl exec -n ${PULSAR_NAMESPACE} ${PULSAR_RELEASE_NAME} -pulsar-broker-0 -- bin/pulsar-client consume -n 15 -s $sub_name --subscription-position Earliest " persistent://public/default/window-function-logs" | grep -e " -window-log" | wc -l)
93- if [ $verify_log_topic_result -ne 0 ]; then
93+ if [[ $verify_log_topic_result -ne 0 ] ]; then
9494 echo " e2e-test: ok" | yq eval -
9595 else
9696 echo " $verify_log_topic_result "
Original file line number Diff line number Diff line change 4545 helm repo add grafana https://grafana.github.io/helm-charts
4646 helm repo update
4747 yq -i '.dependencies[0].repository = "https://grafana.github.io/helm-charts"' charts/pulsar/requirements.yaml
48+ yq -i 'del(.dependencies[1])' charts/pulsar/requirements.yaml
4849 helm dependency update charts/pulsar
4950 helm install ${PULSAR_RELEASE_NAME} --set initialize=true --values ../.ci/clusters/values_skywalking_e2e_cluster.yaml charts/pulsar
5051
Original file line number Diff line number Diff line change 3434 helm repo add grafana https://grafana.github.io/helm-charts
3535 helm repo update
3636 yq -i '.dependencies[0].repository = "https://grafana.github.io/helm-charts"' charts/pulsar/requirements.yaml
37+ yq -i 'del(.dependencies[1])' charts/pulsar/requirements.yaml
3738 helm dependency update charts/pulsar
3839 helm install ${PULSAR_RELEASE_NAME} --set initialize=true --values ../.ci/clusters/values_skywalking_e2e_cluster_with_tls.yaml charts/pulsar
3940
You can’t perform that action at this time.
0 commit comments