Skip to content

Commit

Permalink
Fix accidental leftovers from test debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Sep 28, 2023
1 parent 21aa188 commit f508e71
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/datadog/profiling/collectors/stack_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,9 @@ def call_sleep
let(:server_socket) { TCPServer.new(6006) }
let(:background_thread) { Thread.new(ready_queue, server_socket, &do_in_background_thread) }
let(:do_in_background_thread) do
proc do |ready_queue, read_pipe|
proc do |ready_queue, server_socket|
ready_queue << true
IO.select([server_socket])
# server_socket.wait_readable
# ready_queue << true
# IO.select([read_pipe])
puts "Select failed!"
end
end
let(:metric_values) { { 'cpu-time' => 0, 'cpu-samples' => 1, 'wall-time' => 1 } }
Expand Down

0 comments on commit f508e71

Please sign in to comment.