Skip to content

Commit bec4e41

Browse files
committed
Tweak pending to not apply to all Ruby preview versions
With 4.0.0-preview2 this spec is working fine.
1 parent 8c193fe commit bec4e41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/datadog/profiling/collectors/cpu_and_wall_time_worker_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,8 +683,8 @@
683683
end
684684

685685
it "records allocated objects" do
686-
# TODO: Ruby 3.5 - Remove this skip after investigation.
687-
pending('Allocation profiling call not working correctly on Ruby 3.5.0-preview1') if RUBY_DESCRIPTION.include?('preview')
686+
# TODO: Remove this when Ruby 3.5.0-preview1 is removed from CI
687+
pending('Allocation profiling call not working correctly on Ruby 3.5.0-preview1') if RUBY_DESCRIPTION.include?('3.5.0preview1')
688688

689689
stub_const("CpuAndWallTimeWorkerSpec::TestStruct", Struct.new(:foo))
690690

0 commit comments

Comments
 (0)