Sha256: b9228f401a3d0b85f42fb3d97fbbe7517d7e26e239686953c867d9f005ec447b

Contents?: true

Size: 564 Bytes

Versions: 15

Compression:

Stored size: 564 Bytes

Contents

test_name 'External Resources Test' do
  step 'Verify EPEL resources are up and available' do
    def epel_url_test(el_version)
      url = "#{options[:epel_url]}/epel-release-latest-#{el_version}.noarch.rpm"
      curl_headers_result = default.exec(Command.new("curl -I #{url}"))
      assert_match(/200 OK/, curl_headers_result.stdout, "EPEL #{el_version} should be reachable")
    end

    step 'Verify el_version numbers 5,6,7 are found on the epel resource' do
      [5,6,7].each do |el_version|
        epel_url_test(el_version)
      end
    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
beaker-3.14.0 acceptance/tests/base/external_resources_test.rb
beaker-3.13.0 acceptance/tests/base/external_resources_test.rb
beaker-3.12.0 acceptance/tests/base/external_resources_test.rb
beaker-3.11.0 acceptance/tests/base/external_resources_test.rb
beaker-3.10.0 acceptance/tests/base/external_resources_test.rb
beaker-3.9.0 acceptance/tests/base/external_resources_test.rb
beaker-3.8.0 acceptance/tests/base/external_resources_test.rb
beaker-3.7.0 acceptance/tests/base/external_resources_test.rb
beaker-3.6.0 acceptance/tests/base/external_resources_test.rb
beaker-3.5.0 acceptance/tests/base/external_resources_test.rb
beaker-3.4.0 acceptance/tests/base/external_resources_test.rb
beaker-3.3.0 acceptance/tests/base/external_resources_test.rb
beaker-3.2.0 acceptance/tests/base/external_resources_test.rb
beaker-3.1.0 acceptance/tests/base/external_resources_test.rb
beaker-3.0.0 acceptance/tests/base/external_resources_test.rb