Skip to content

Commit 364249c

Browse files
pPrecelanoipm
andauthored
Store only results in performance test output configmap (#2435)
Co-authored-by: Marcin Dobrochowski <39153236+anoipm@users.noreply.github.com>
1 parent 66d9b6a commit 364249c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/performance/test_runtimes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ test_runtime(){
8585

8686
echo -e "\n[SCRIPT] Saving k6 results to configmap ${results_cm}"
8787
result_file="${result_dir}/${testid}"
88-
kubectl logs job/k6-${resource_name} -n ${resource_namespace} --tail=-1 > ${result_file}
88+
kubectl logs job/k6-${resource_name} -n ${resource_namespace} --tail=-1 | grep -A 1000 "TOTAL RESULTS" > ${result_file}
8989
kubectl create configmap ${results_cm} -n ${results_cm_ns} --from-file=${result_dir} --dry-run=client -o yaml | kubectl apply --server-side -f -
9090

9191
if [ $RAPID == "false" ]; then

0 commit comments

Comments
 (0)