Procházet zdrojové kódy

Make sure we flush after app restart

pull/346/head
Mark Allen před 9 roky
rodič
revize
82788b996c
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. +2
    -0
      test/lager_test_backend.erl

+ 2
- 0
test/lager_test_backend.erl Zobrazit soubor

@ -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),

Načítá se…
Zrušit
Uložit