Bug #8574

CI Build failure introduced by r41686

Added by Luis Lavena about 2 years ago. Updated about 2 years ago.

[ruby-core:55683]
Status:Closed
Priority:Normal
Assignee:Akira Tanaka
ruby -v:ruby 2.1.0dev (2013-06-28 trunk 41688) [i386-mingw32] Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

Description

=begin
Hello,

r41686 caused a failure in RubyInstaller CI for both x86 and x64:

http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/1474/console
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1675/console

1) Failure:
TestSocket_TCPSocket#test_initialize_failure [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/socket/test_tcp.rb:24]:
Expected /for\ "127.0.0.1"\ port\ 57239/ to match "Only one usage of each socket address (protocol/network address/port) is normally permitted. - connect(2) for \"127.0.0.1\" port 57238".

Seems the port is wrong by 1.

=end


Subtasks

Bug #8605: TestSocket_TCPSocket#test_initialize_failure fails on WindowsRejectedAkira Tanaka

Associated revisions

Revision 41802
Added by Yui NARUSE about 2 years ago

Use server_port for Windows

fix r41686 [Bug #8574]

Revision 41802
Added by Yui NARUSE about 2 years ago

Use server_port for Windows

fix r41686 [Bug #8574]

History

#2 Updated by Yui NARUSE about 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r41802.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Use server_port for Windows

fix r41686 [Bug #8574]

Also available in: Atom PDF