mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
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:
commit
97be67233a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user