We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b2d4f commit 08da292Copy full SHA for 08da292
devops/scripts/benchmarking/benchmark.sh
@@ -137,19 +137,20 @@ process_benchmarks() {
137
}
138
139
process_results() {
140
+ fail=0
141
if [ -s "$BENCHMARK_SLOW_LOG" ]; then
142
printf "\n### Tests performing over acceptable range of average: ###\n"
143
cat "$BENCHMARK_SLOW_LOG"
144
echo ""
145
+ fail=1
146
fi
147
if [ -s "$BENCHMARK_ERROR_LOG" ]; then
148
printf "\n### Tests that failed to run: ###\n"
149
cat "$BENCHMARK_ERROR_LOG"
150
151
+ fail=2
152
- if [ -s "$BENCHMARKING_SLOW_LOG" ] || [ -s "$BENCHMARK_ERROR_LOG" ]; then
- exit 1
- fi
153
+ exit fail
154
155
156
cleanup() {
0 commit comments