Parcourir la source

Merge pull request #395 from erlang-lager/test_timeout_19

Travis needs a higher timeout for the async test
pull/377/merge
Mark Allen il y a 8 ans
committed by GitHub
Parent
révision
101c2122f7
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      test/lager_test_backend.erl

+ 2
- 2
test/lager_test_backend.erl Voir le fichier

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

Chargement…
Annuler
Enregistrer