Project

General

Profile

« Previous | Next » 

Revision 1bfd30a1

Added by shioimm (Misaki Shioi) over 1 year ago

Relax test conditions to velify Socket::ResolutionError#error_code

The test for Socket::ResolutionError#error_code fails in the FreeBSD environment with this test condition. Because Socket::ResolutionError#error_code returns Socket::EAI_FAIL instead of Socket::EAI_FAMILY.

https://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20231130T103002Z.fail.html.gz

This PR avoids the test failure by relaxing the condition.

Also changed the domain for testing to example.com.