소스 검색

Add 30 second eunit timeout to gh280

pull/344/head
Mark Allen 9 년 전
부모
커밋
a217c88501
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      test/zzzz_gh280_crash.erl

+ 4
- 1
test/zzzz_gh280_crash.erl 파일 보기

@ -10,6 +10,9 @@
-include_lib("eunit/include/eunit.hrl").
gh280_crash_test() ->
{timeout, 30, fun() -> gh280_impl() end}.
gh280_impl() ->
application:stop(lager),
application:stop(goldrush),
@ -25,7 +28,7 @@ gh280_crash_test() ->
{Handler,Reason};
X ->
X
after 5000 ->
after 10000 ->
timeout
end,
?assert(Result),

불러오는 중...
취소
저장