Project

General

Profile

Actions

Bug #1558

closed

test timeout issues in windows

Added by rogerdpack (Roger Pack) almost 15 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
"2009-05-28"
Backport:
[ruby-core:23674]

Description

=begin
Appears that a few tests (at least on my lowly windows box) timeout instead of raising the right error--or perhaps drb is indeed broke on windows?
Thanks!
-=r

  1. Failure:
    test_field_size_limit_controls_lookahead(TestCSVParsing)
    [c:/dev/downloads/ruby_trunk/test/csv/test_csv_parsing.rb:178]:
    [CSV::MalformedCSVError] exception expected, not
    Class: Timeout::Error
    Message: <"execution expired">
    ---Backtrace---
    c:/dev/downloads/ruby_trunk/test/csv/test_csv_parsing.rb:187:in block (2 levels) in assert_parse_errors_out' c:/dev/downloads/ruby_trunk/test/csv/test_csv_parsing.rb:186:in block
    in assert_parse_errors_out'
    c:/dev/downloads/ruby_trunk/test/csv/test_csv_parsing.rb:185:in
    assert_parse_errors_out' c:/dev/downloads/ruby_trunk/test/csv/test_csv_parsing.rb:178:in test_field_size_limit_controls_lookahead'

  1. Failure:
    test_03(TestDRbCore) [c:/dev/downloads/ruby_trunk/test/drb/drbtest.rb:143]:
    [ArgumentError] exception expected, not
    Class: DRb::DRbConnError
    Message: <"An existing connection was forcibly closed by the remote host.">
    ---Backtrace---
    c:/dev/downloads/ruby_trunk/test/drb/drbtest.rb:144:in block in test_03' c:/dev/downloads/ruby_trunk/test/drb/drbtest.rb:143:in test_03'

  1. Failure:
    test_04_many_arg(TestDRbLarge)
    [c:/dev/downloads/ruby_trunk/test/drb/test_drb.rb:286]:
    [ArgumentError] exception expected, not
    Class: DRb::DRbConnError
    Message: <"An existing connection was forcibly closed by the remote host.">
    ---Backtrace---
    c:/dev/downloads/ruby_trunk/test/drb/test_drb.rb:286:in block in test_04_many_arg' c:/dev/downloads/ruby_trunk/test/drb/test_drb.rb:286:in test_04_many_arg'

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0