diff options
author | Daniel Hanrahan <daniel.hanrahan@est.tech> | 2024-09-03 08:45:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-09-03 08:45:50 +0000 |
commit | 115d80932460ed529c8c32c439218c63aceb9b45 (patch) | |
tree | 8709e2d5826decd04c5502245f83d319a6918059 /k6-tests | |
parent | a9075497c6c151cb8d4cc949f90df79814012bf8 (diff) | |
parent | 74af28e6123b190fe8f37bb4e422f6fe9546a313 (diff) |
Merge "Fix huge logs produced when errors occur in k6"
Diffstat (limited to 'k6-tests')
-rwxr-xr-x | k6-tests/ncmp/run-all-tests.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/k6-tests/ncmp/run-all-tests.sh b/k6-tests/ncmp/run-all-tests.sh index 2db32ecd76..1fa661a472 100755 --- a/k6-tests/ncmp/run-all-tests.sh +++ b/k6-tests/ncmp/run-all-tests.sh @@ -19,7 +19,9 @@ pushd "$(dirname "$0")" >/dev/null || exit 1 number_of_failures=0 echo "Running K6 performance tests..." -k6 --quiet run ncmp-kpi.js > summary.csv || ((number_of_failures++)) + +# Redirecting stderr to /dev/null to prevent large log files +k6 --quiet run ncmp-kpi.js > summary.csv 2>/dev/null || ((number_of_failures++)) if [ -f summary.csv ]; then |