Skip to content

Commit

Permalink
Merge pull request #3034 from DataDog/tonycthsu/fix-flaky-remote-spec
Browse files Browse the repository at this point in the history
Fix remote configuration spec with semantic logger
  • Loading branch information
TonyCTHsu authored Aug 8, 2023
2 parents e131b56 + 9888518 commit 98921ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/datadog/tracing/contrib/suite/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ def build(*dynamic_configurations)

tracer.trace('test') { logger.error('test-log') }

SemanticLogger.flush

expect(io.string).to include('trace_id')

io.truncate(0)
Expand All @@ -266,6 +268,8 @@ def build(*dynamic_configurations)

tracer.trace('test') { logger.error('test-log') }

SemanticLogger.flush

expect(io.string).to_not include('trace_id')
end
end
Expand Down

0 comments on commit 98921ae

Please sign in to comment.