Skip to content

Commit

Permalink
[busted] don't print error logs in tests
Browse files Browse the repository at this point in the history
just print the most critical errors
so we don't see ngx.log statements when running busted
  • Loading branch information
mikz committed Nov 30, 2017
1 parent c37fc97 commit 1df4cf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/busted
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ chdir "$dirname/..";
my $apicast = getcwd();

exec '/usr/bin/env', 'resty',
'--errlog-level', 'alert',
'--http-include', "$apicast/spec/fixtures/echo.conf",
"$apicast/bin/busted.lua",
'--config-file', "$apicast/.busted",
Expand Down

0 comments on commit 1df4cf4

Please sign in to comment.