Merge pull request #837 from basho/fix/az/ifdef-eqc-for-proxy-overload-recovery

-ifdef(EQC) for proxy_overload_recovery; add missing -behaviour(riak_test)
This commit is contained in:
John Daily 2015-08-14 17:26:22 -04:00
commit 97be67233a

View File

@ -31,6 +31,9 @@
%% 2) Remove the riak_kv dependency so it's a pure riak_core test.
-module(proxy_overload_recovery).
-behaviour(riak_test).
-ifdef(EQC).
-include_lib("eqc/include/eqc.hrl").
-include_lib("eqc/include/eqc_statem.hrl").
-include_lib("eunit/include/eunit.hrl").
@ -444,3 +447,13 @@ add_eqc_apps(Nodes) ->
end
end || App <- Apps, Node <- Nodes],
ok.
-else. %% no EQC
-export([confirm/0]).
confirm() ->
lager:info("EQC not enabled, skipping test"),
pass.
-endif.