diff --git a/internal/testrunner/runners/system/runner.go b/internal/testrunner/runners/system/runner.go index d082d4e4a..1ecedeb36 100644 --- a/internal/testrunner/runners/system/runner.go +++ b/internal/testrunner/runners/system/runner.go @@ -434,6 +434,7 @@ func (r *runner) runTest(config *testConfig, ctxt servicedeployer.ServiceContext if !passed { result.FailureMsg = fmt.Sprintf("could not find hits in %s data stream", dataStream) + return result.WithError(fmt.Errorf("%s", result.FailureMsg)) } // Validate fields in docs