From 0f3d303062f242e61174aa95bac557ac75e86bec Mon Sep 17 00:00:00 2001 From: Yvonnick Esnault Date: Sat, 21 Oct 2023 07:53:11 +0000 Subject: [PATCH] fix(venom): panic on failure close #724 Signed-off-by: Yvonnick Esnault --- process_testcase.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/process_testcase.go b/process_testcase.go index 4d22631d..7c2ea71e 100644 --- a/process_testcase.go +++ b/process_testcase.go @@ -193,7 +193,9 @@ func (v *Venom) runTestSteps(ctx context.Context, tc *TestCase, tsIn *TestStepRe ranged, err := parseRanged(ctx, rawStep, stepVars) if err != nil { Error(ctx, "unable to parse \"range\" attribute: %v", err) - tsIn.appendError(err) + testStepResult := TestStepResult{} + testStepResult.appendError(err) + tc.TestStepResults = append(tc.TestStepResults, testStepResult) return }