From c9e667ead1df9f33e60b8deea23d577b806e0a63 Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Tue, 23 Jan 2024 10:12:09 +0100 Subject: [PATCH] Work around infra's networking. --- .ruby.metadata | 1 + ruby.spec | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .ruby.metadata diff --git a/.ruby.metadata b/.ruby.metadata new file mode 100644 index 0000000..aa30aeb --- /dev/null +++ b/.ruby.metadata @@ -0,0 +1 @@ +c8f68e1b0a114b90460a0b44165a3b2f540fa5b6 ruby-3.3.0.tar.xz diff --git a/ruby.spec b/ruby.spec index dee6a13..129c5a9 100644 --- a/ruby.spec +++ b/ruby.spec @@ -1075,6 +1075,13 @@ MSPECOPTS="" # Avoid `hostname' dependency. %{!?with_hostname:MSPECOPTS="-P 'Socket.gethostname returns the host name'"} +# Some infra allows DNS resolution but then does not allow +# connection to proceed, let's ignore it altogether for now. +# Our expectation is that there is no network connectivity outside +# available loopback interface. That is not the reality currently. +# https://issues.redhat.com/browse/CS-1959 +DISABLE_TESTS="$DISABLE_TESTS -n !/TestGemBundledCA/" + # Give an option to increase the timeout in tests. # https://bugs.ruby-lang.org/issues/16921 %{?test_timeout_scale:RUBY_TEST_TIMEOUT_SCALE="%{test_timeout_scale}"} \