Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix: correct lager startup in crash_log test #200

Merged
merged 1 commit into from

2 participants

@yfyf

Not sure how this succeeds on Travis, but for me this causes the tests in lager_crash_log to fail.

@Vagabond
Collaborator

Thanks, it is probably related to testing order.

@Vagabond Vagabond merged commit 85c2c2f into basho:master
@yfyf yfyf deleted the yfyf:fix_tests branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 12, 2014
  1. @yfyf
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/lager_crash_log.erl
View
2  src/lager_crash_log.erl
@@ -241,7 +241,7 @@ filesystem_test_() ->
application:set_env(lager, handlers, [{lager_test_backend, info}]),
application:set_env(lager, error_logger_redirect, true),
application:unset_env(lager, crash_log),
- application:start(lager),
+ lager:start(),
timer:sleep(100),
lager_test_backend:flush()
end,
Something went wrong with that request. Please try again.