From dcc654c5fb8e977fa88e1018f108412805605a3c Mon Sep 17 00:00:00 2001 From: gedi Date: Sat, 10 Sep 2016 21:22:24 +0300 Subject: [PATCH] do not exit with error when producing event stream --- run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.go b/run.go index c5587a4..2c900e8 100644 --- a/run.go +++ b/run.go @@ -105,7 +105,7 @@ func RunWithOptions(suite string, contextInitializer func(suite *Suite), opt Opt } else { failed = r.run() } - if failed { + if failed && format != "events" { return 1 } return 0