diff --git a/test/support/cdp_utils.rb b/test/support/cdp_utils.rb index a6c927c64..144904eab 100644 --- a/test/support/cdp_utils.rb +++ b/test/support/cdp_utils.rb @@ -63,7 +63,7 @@ def connect_to_cdp_server MSG end - TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i + TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i HOST = '127.0.0.1' def run_cdp_scenario program, &msgs diff --git a/test/support/dap_utils.rb b/test/support/dap_utils.rb index 69c305c2f..634f70792 100644 --- a/test/support/dap_utils.rb +++ b/test/support/dap_utils.rb @@ -96,7 +96,7 @@ def connect_to_dap_server test_info sock end - TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i + TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i def run_dap_scenario program, &msgs begin diff --git a/test/support/protocol_test_case.rb b/test/support/protocol_test_case.rb index 71cf11a05..902955c0d 100644 --- a/test/support/protocol_test_case.rb +++ b/test/support/protocol_test_case.rb @@ -644,7 +644,7 @@ def send **kw end end - TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i + TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i def assert_dap_response expected_def, result_res return unless defined? DAP_HASH diff --git a/test/support/test_case.rb b/test/support/test_case.rb index 0704a4bb2..fae5b9f58 100644 --- a/test/support/test_case.rb +++ b/test/support/test_case.rb @@ -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'] || 30).to_i + TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i def get_target_ui ENV['RUBY_DEBUG_TEST_UI']