From a217c885018d24562ecbd274b11425d1c2a7a306 Mon Sep 17 00:00:00 2001 From: Mark Allen Date: Wed, 30 Mar 2016 14:49:16 -0500 Subject: [PATCH] Add 30 second eunit timeout to gh280 --- test/zzzz_gh280_crash.erl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/zzzz_gh280_crash.erl b/test/zzzz_gh280_crash.erl index fd7f801..aa85ab2 100644 --- a/test/zzzz_gh280_crash.erl +++ b/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),