Skip to content

Commit

Permalink
Run claim test by giving a possible initial state
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArts committed May 9, 2020
1 parent 9b28d78 commit 3fcb0c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/riak_core_claim_statem.erl
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ weight(_, _, _, _) ->
-define(QC_OUT(P),
eqc:on_output(fun(Str, Args) -> io:format(user, Str, Args) end, P)).

claim_test() ->
eqc:quickcheck(?QC_OUT(prop_claim(with_ring_size(5)))).

eqc_check(File, Prop) ->
{ok, Bytes} = file:read_file(File),
CE = binary_to_term(Bytes),
Expand Down

0 comments on commit 3fcb0c2

Please sign in to comment.