diff --git a/lib/lightstep/tracer/client_tracer.rb b/lib/lightstep/tracer/client_tracer.rb index 6f9df48..3ec6a3c 100644 --- a/lib/lightstep/tracer/client_tracer.rb +++ b/lib/lightstep/tracer/client_tracer.rb @@ -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