Selaa lähdekoodia

Merge pull request #395 from erlang-lager/test_timeout_19

Travis needs a higher timeout for the async test
pull/377/merge
Mark Allen 8 vuotta sitten
committed by GitHub
vanhempi
commit
101c2122f7
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      test/lager_test_backend.erl

+ 2
- 2
test/lager_test_backend.erl Näytä tiedosto

@ -1588,7 +1588,7 @@ async_threshold_test_() ->
end, end,
{foreach, Setup, Cleanup, [ {foreach, Setup, Cleanup, [
{"async threshold works", {"async threshold works",
fun() ->
{timeout, 30, fun() ->
%% we start out async %% we start out async
?assertEqual(true, lager_config:get(async)), ?assertEqual(true, lager_config:get(async)),
?assertEqual([{sync_toggled, 0}], ?assertEqual([{sync_toggled, 0}],
@ -1629,7 +1629,7 @@ async_threshold_test_() ->
%% async is true again now that the mailbox has drained %% async is true again now that the mailbox has drained
?assertEqual(true, lager_config:get(async)), ?assertEqual(true, lager_config:get(async)),
ok ok
end}
end}}
]}. ]}.
% Fire off the stuffers with minimal resource overhead - speed is of the essence. % Fire off the stuffers with minimal resource overhead - speed is of the essence.

Ladataan…
Peruuta
Tallenna