Skip to content

Commit

Permalink
increase limit
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Aug 20, 2024
1 parent d33281e commit b40e633
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ do
fi
done
if (( "$(du -sk ${PREFIX_LOG} | cut -f1)" > 3000 )) ; then
if (( "$(du -sk ${PREFIX_LOG} | cut -f1)" > 4000 )) ; then
echo "$(tput setaf 1)ERROR: log size is significantly large ($(du -sh ${PREFIX_LOG} | cut -f1)).$(tput sgr0) Please disable unnecessary logs."
exit 1
fi
Expand Down
14 changes: 3 additions & 11 deletions ci/scripts/run-e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ cluster_start() {
fi
}

# `cluster_stop false` will not check the log.
# shellcheck disable=SC2120
cluster_stop() {
if [[ $mode == "standalone" ]]
if [[ $mode == "standalone" || $profile == "p" ]]
then
stop_standalone
# Don't check standalone logs, they will exceed the limit.
Expand All @@ -62,13 +60,7 @@ cluster_stop() {
then
stop_single_node
else
check_log=${1:-"true"}
if [[ $check_log == "true" ]]
then
risedev ci-kill
else
risedev kill
fi
risedev ci-kill
fi
}

Expand Down Expand Up @@ -142,7 +134,7 @@ sqllogictest -p 4566 -d dev './e2e_test/udf/js_udf.slt'
sqllogictest -p 4566 -d dev './e2e_test/udf/python_udf.slt'

echo "--- Kill cluster"
cluster_stop false
cluster_stop

echo "--- e2e, $mode, generated"
RUST_LOG="info,risingwave_stream=info,risingwave_batch=info,risingwave_storage=info" \
Expand Down

0 comments on commit b40e633

Please sign in to comment.