Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion script/test-grpc-interop
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ echo "Total test count: ${RUN_COUNT}, failed count: ${FAIL_COUNT}."

# If failure time is more than %5 of total test time, mark failed.
RESULT=0
[[ ${FAIL_COUNT} -gt $((RUN_COUNT / 20)) ]] && RESULT=1
if [[ ${FAIL_COUNT} -gt $((RUN_COUNT / 20)) && ${FAIL_COUNT} -gt 1 ]] ; then
RESULT=1
fi

# We fail the test if memory increase is large.
detect_memory_leak_final && MEMORY_LEAK=0 || MEMORY_LEAK=1
Expand Down