This commit is contained in:
bcronin 2016-04-18 16:41:41 -07:00
Родитель 61f6558db0
Коммит 54bf48220a
1 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -48,10 +48,7 @@ class ClientTracer
# Internal debugging flag that enables additional logging and
# tracer checks. Not intended to run in production as it may add
# logging "noise" to the calling code.
verbose: 0,
# Flag intended solely to unit testing convenience
debug_disable_flush: false
verbose: 0
}
# Modify some of the interdependent defaults based on what the user-specified
@ -164,9 +161,6 @@ class ClientTracer
return if @tracer_log_records.empty? && @tracer_span_records.empty?
# For unit testing
return if @tracer_options[:debug_disable_flush]
@tracer_transport.ensure_connection(@tracer_options)
# Ensure the log / span GUIDs are set correctly. This is covers a real