Skip to content

Commit 077071c

Browse files
[fix](ci) cloud_p0 gen default.profraw (apache#53333)
1 parent 7e261f7 commit 077071c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

regression-test/pipeline/common/doris-utils.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ function start_doris_ms() {
6868
if [[ ${i} -ge 5 ]]; then
6969
echo -e "INFO: doris meta-service started,\n$("${DORIS_HOME}"/ms/lib/doris_cloud --version)"
7070
fi
71+
cd - || return 1
7172
}
7273

7374
function start_doris_recycler() {
@@ -87,6 +88,7 @@ function start_doris_recycler() {
8788
if [[ ${i} -ge 5 ]]; then
8889
echo -e "INFO: doris recycler started,\n$("${DORIS_HOME}"/ms/lib/doris_cloud --version)"
8990
fi
91+
cd - || return 1
9092
}
9193

9294
function install_java() {
@@ -150,6 +152,7 @@ function start_doris_be() {
150152
JAVA_HOME="$(find /usr/lib/jvm -maxdepth 1 -type d -name 'java-8-*' | sed -n '1p')"
151153
export JAVA_HOME
152154
fi
155+
cd "${DORIS_HOME}"/be || return 1
153156
ASAN_SYMBOLIZER_PATH="$(command -v llvm-symbolizer)"
154157
if [[ -z "${ASAN_SYMBOLIZER_PATH}" ]]; then ASAN_SYMBOLIZER_PATH='/var/local/ldb-toolchain/bin/llvm-symbolizer'; fi
155158
export ASAN_SYMBOLIZER_PATH
@@ -159,7 +162,7 @@ function start_doris_be() {
159162
ulimit -n 200000 &&
160163
ulimit -c unlimited &&
161164
swapoff -a &&
162-
"${DORIS_HOME}"/be/bin/start_be.sh --daemon
165+
./bin/start_be.sh --daemon
163166

164167
sleep 2
165168
local i=1
@@ -171,8 +174,9 @@ function start_doris_be() {
171174
fi
172175
done
173176
if [[ ${i} -ge 5 ]]; then
174-
echo "INFO: doris be started, be version: $("${DORIS_HOME}"/be/lib/doris_be --version)"
177+
echo "INFO: doris be started, be version: $("${DORIS_HOME}"/be/bin/start_be.sh --version)"
175178
fi
179+
cd - || return 1
176180
}
177181

178182
function add_doris_be_to_fe() {

0 commit comments

Comments
 (0)