Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed Apr 9, 2024
1 parent ed47262 commit 61415c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if [ $? -ne 0 ]; then
exit 1
fi

verify_log_topic=$(ci::verify_log_topic_with_auth persistent://public/default/logging-generic-auth-function-logs "org.apache.pulsar.functions.runtime.JavaInstanceStarter" 10 2>&1)
verify_log_topic=$(ci::verify_log_topic_with_auth persistent://public/default/logging-generic-auth-function-logs "it is not a NAR file" 10 2>&1)
if [ $? -ne 0 ]; then
echo "$verify_log_topic"
kubectl delete -f "${BASE_DIR}"/.ci/tests/integration-oauth2/cases/java-download-function-generic-auth/manifests.yaml > /dev/null 2>&1 || true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if [ $? -ne 0 ]; then
exit 1
fi

verify_log_topic=$(ci::verify_log_topic_with_auth persistent://public/default/logging-function-logs-sidecar "org.apache.pulsar.functions.runtime.JavaInstanceStarter" 10 2>&1)
verify_log_topic=$(ci::verify_log_topic_with_auth persistent://public/default/logging-function-logs-sidecar "it is not a NAR file" 10 2>&1)
if [ $? -ne 0 ]; then
echo "$verify_log_topic"
kubectl delete -f "${BASE_DIR}"/.ci/tests/integration-oauth2/cases/java-download-function/manifests.yaml > /dev/null 2>&1 || true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [ $? -ne 0 ]; then
fi

if [ $USE_TLS == "false" ]; then
verify_log_topic=$(ci::verify_log_topic persistent://public/default/logging-function-logs-sidecar "org.apache.pulsar.functions.runtime.JavaInstanceStarter" 10 2>&1)
verify_log_topic=$(ci::verify_log_topic persistent://public/default/logging-function-logs-sidecar "it is not a NAR file" 10 2>&1)
if [ $? -ne 0 ]; then
echo "$verify_log_topic"
kubectl delete -f "${BASE_DIR}"/.ci/tests/integration/cases/java-download-function/manifests.yaml > /dev/null 2>&1 || true
Expand Down

0 comments on commit 61415c2

Please sign in to comment.