Skip to content

Commit 64c7b3f

Browse files
committed
Fixed: Broken concurrent_ruby spec with #do_once.
1 parent 950f2d4 commit 64c7b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ddtrace/contrib/concurrent_ruby/integration_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
example.run
1010
::Concurrent.send(:remove_const, :Future)
1111
::Concurrent.const_set('Future', unmodified_future)
12-
Datadog.registry[:concurrent_ruby].patcher.instance_variable_set(:@done_once, {})
12+
remove_patch!(:concurrent_ruby)
1313
end
1414

1515
let(:tracer) { ::Datadog::Tracer.new(writer: FauxWriter.new) }

0 commit comments

Comments
 (0)