Ver a proveniência

Make sure we flush after app restart

pull/346/head
Mark Allen há 9 anos
ascendente
cometimento
82788b996c
1 ficheiros alterados com 2 adições e 0 eliminações
  1. +2
    -0
      test/lager_test_backend.erl

+ 2
- 0
test/lager_test_backend.erl Ver ficheiro

@ -515,6 +515,8 @@ lager_test_() ->
application:stop(lager),
application:set_env(lager, traces, [{lager_test_backend, [{foo, bar}], debug}]),
lager:start(),
timer:sleep(5),
flush(),
lager:debug([{foo, bar}], "hello world"),
?assertEqual(1, count()),
application:unset_env(lager, traces),

Carregando…
Cancelar
Guardar