Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
ak0327 committed Mar 8, 2024
1 parent 593fcdb commit f234d5c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/integration/test_func.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ expect_eq_get() {
local filesize=$(stat -c "%s" "$path")

local is_big_file=0
if [ "$filesize" -ge $(( 1024 * 100 )) ]; then
if [ "$filesize" -ge $(( 1024 * 80 )) ]; then
is_big_file=1
fi

Expand Down Expand Up @@ -101,7 +101,10 @@ expect_eq_get() {
echo -e "${GREEN}OK${RESET}"
else
echo -e "${RED}NG${RESET}"
echo "${diff_output}"

if [ -z $is_big_file ]; then
echo "${diff_output}"
fi
((ng_cnt++))
if [ -z $is_big_file ]; then
ng_cases+=("No.${test_cnt} (L${call_line}): Request-Body NG: [${response}]")
Expand Down

0 comments on commit f234d5c

Please sign in to comment.