Project

General

Profile

« Previous | Next » 

Revision 80bda107

Added by KJ Tsanaktsidis over 1 year ago

[ruby/resolv] Add an explicit with_udp_and_tcp helper to test_dns.rb

This helper tries to bind UDP and TCP sockets to the same port, by
retrying the bind if the randomly-assinged UDP port is already taken in
TCP. This fixes a flaky test.

[Bug #20403]

https://github.com/ruby/resolv/commit/3d135f99d9