test(sessds): Don't trap exits in the test
This commit is contained in:
parent
ebe2339810
commit
974760d331
|
@ -44,21 +44,19 @@ prop_consistency() ->
|
||||||
?FORALL(
|
?FORALL(
|
||||||
Cmds,
|
Cmds,
|
||||||
commands(?MODULE),
|
commands(?MODULE),
|
||||||
?TRAPEXIT(
|
begin
|
||||||
begin
|
init(),
|
||||||
init(),
|
{_History, State, Result} = run_commands(?MODULE, Cmds),
|
||||||
{_History, State, Result} = run_commands(?MODULE, Cmds),
|
clean(),
|
||||||
clean(),
|
?WHENFAIL(
|
||||||
?WHENFAIL(
|
io:format(
|
||||||
io:format(
|
user,
|
||||||
user,
|
"Operations: ~p~nState: ~p\nResult: ~p~n",
|
||||||
"Operations: ~p~nState: ~p\nResult: ~p~n",
|
[Cmds, State, Result]
|
||||||
[Cmds, State, Result]
|
),
|
||||||
),
|
aggregate(command_names(Cmds), Result =:= ok)
|
||||||
aggregate(command_names(Cmds), Result =:= ok)
|
)
|
||||||
)
|
end
|
||||||
end
|
|
||||||
)
|
|
||||||
).
|
).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
Loading…
Reference in New Issue