Skip to content

Commit 9c3b8c4

Browse files
committed
Revert "Increase timeout to 30 seconds."
This reverts commit 6716762. #987 (comment)
1 parent 0b32043 commit 9c3b8c4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/support/cdp_utils.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def connect_to_cdp_server
6363
MSG
6464
end
6565

66-
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i
66+
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i
6767
HOST = '127.0.0.1'
6868

6969
def run_cdp_scenario program, &msgs

test/support/dap_utils.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def connect_to_dap_server test_info
9696
sock
9797
end
9898

99-
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i
99+
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i
100100

101101
def run_dap_scenario program, &msgs
102102
begin

test/support/protocol_test_case.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def send **kw
644644
end
645645
end
646646

647-
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i
647+
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i
648648

649649
def assert_dap_response expected_def, result_res
650650
return unless defined? DAP_HASH

test/support/test_case.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def debug_print msg
9696
RUBY = ENV['RUBY'] || RbConfig.ruby
9797
RDBG_EXECUTABLE = "#{RUBY} #{__dir__}/../../exe/rdbg"
9898

99-
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 30).to_i
99+
TIMEOUT_SEC = (ENV['RUBY_DEBUG_TIMEOUT_SEC'] || 10).to_i
100100

101101
def get_target_ui
102102
ENV['RUBY_DEBUG_TEST_UI']

0 commit comments

Comments
 (0)