Rename TRACE_SUP2 to TRACE_SUPERVISOR2 and add to Makefile
This commit is contained in:
parent
daf1a52e99
commit
f10f81bf90
|
@ -256,6 +256,10 @@ ifdef DEBUG_FF
|
|||
RMQ_ERLC_OPTS += -DDEBUG_QUORUM_QUEUE_FF=true
|
||||
endif
|
||||
|
||||
ifdef TRACE_SUPERVISOR2
|
||||
RMQ_ERLC_OPTS += -DTRACE_SUPERVISOR2=true
|
||||
endif
|
||||
|
||||
ifndef USE_PROPER_QC
|
||||
# PropEr needs to be installed for property checking
|
||||
# http://proper.softlab.ntua.gr/
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
|
||||
-ifdef(TRACE_SUP2).
|
||||
-ifdef(TRACE_SUPERVISOR2).
|
||||
-define(TRACE_SUPERVISOR2_ERROR_LOG(ERROR, CHILD, SUP_NAME, LOGGED),
|
||||
rabbit_event:notify(supervisor2_error_report,
|
||||
[{supervisor, SUP_NAME},
|
||||
|
|
|
@ -95,7 +95,7 @@ test_supervisor_delayed_restart(SupPid) ->
|
|||
ok = ping_child(SupPid),
|
||||
passed.
|
||||
|
||||
-ifdef(TRACE_SUP2).
|
||||
-ifdef(TRACE_SUPERVISOR2).
|
||||
test_supervisor_ignore_error_reports(SupPid, IsLogged = false) ->
|
||||
ok = ping_child(SupPid),
|
||||
|
||||
|
|
Loading…
Reference in New Issue