Skip to content

Commit

Permalink
Unlimited timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Dec 15, 2024
1 parent 4126fd1 commit 0e1c5f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/daemonizing_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ def name
private

def wait_for_server_to_start
expect{sleep(0.1) until File.exist?(subject.pid_file)}.to take_less_then(60)
until File.exist?(subject.pid_file)
sleep(0.1)
end
end
end

0 comments on commit 0e1c5f9

Please sign in to comment.