From 97818e5e322be51a9cf2b5f41281bc0c43b532aa Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 22 Apr 2021 19:46:09 +0000 Subject: [PATCH] test: log bimodal --- runtime/experiments/bimodal/run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/experiments/bimodal/run.sh b/runtime/experiments/bimodal/run.sh index fa63cb7..2b1400b 100755 --- a/runtime/experiments/bimodal/run.sh +++ b/runtime/experiments/bimodal/run.sh @@ -44,15 +44,15 @@ run_samples() { local -ir perf_window_buffer_size printf "Running Samples: " - hey -n "$perf_window_buffer_size" -c "$perf_window_buffer_size" -cpus 3 -t 0 -o csv -m GET -d "40\n" "http://${hostname}:10040" 1> /dev/null 2> /dev/null || { + hey -n "$perf_window_buffer_size" -c "$perf_window_buffer_size" -cpus 3 -t 0 -o csv -m GET -d "40\n" "http://${hostname}:10040" || { printf "[ERR]\n" - panic "fib40 samples failed" + panic "fib40 samples failed with $?" return 1 } - hey -n "$perf_window_buffer_size" -c "$perf_window_buffer_size" -cpus 3 -t 0 -o csv -m GET -d "10\n" "http://${hostname}:100010" 1> /dev/null 2> /dev/null || { + hey -n "$perf_window_buffer_size" -c "$perf_window_buffer_size" -cpus 3 -t 0 -o csv -m GET -d "10\n" "http://${hostname}:100010" || { printf "[ERR]\n" - panic "fib10 samples failed" + panic "fib10 samples failed with $?" return 1 }