Skip to content

Commit

Permalink
Increase timeout to 30 seconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix authored and ko1 committed Dec 8, 2023
1 parent 17345bf commit 6716762
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/support/cdp_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def connect_to_cdp_server
MSG
end

TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i
HOST = '127.0.0.1'

def run_cdp_scenario program, &msgs
Expand Down
2 changes: 1 addition & 1 deletion test/support/dap_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def connect_to_dap_server test_info
sock
end

TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i

def run_dap_scenario program, &msgs
begin
Expand Down
2 changes: 1 addition & 1 deletion test/support/protocol_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def send **kw
end
end

TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i

def assert_dap_response expected_def, result_res
return unless defined? DAP_HASH
Expand Down
2 changes: 1 addition & 1 deletion test/support/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def debug_print msg
RUBY = ENV['RUBY'] || RbConfig.ruby
RDBG_EXECUTABLE = "#{RUBY} #{__dir__}/../../exe/rdbg"

TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i

def get_target_ui
ENV['RUBY_DEBUG_TEST_UI']
Expand Down

0 comments on commit 6716762

Please sign in to comment.