Sha256: f9d8ba4e608e707236de54002dd3bd5101e83376cb1ee1d1c47e507a9793fedd

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

require 'resolv'
require 'mocha/setup'

class LoadTest < MiniTest::Unit::TestCase
  def test_loading_agent_when_disabled_does_not_resolv_addresses
    ::Resolv.expects(:getaddress).never
    ::IPSocket.expects(:getaddress).never

    require File.expand_path(File.join(File.dirname(__FILE__),'..','test_helper'))
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newrelic_rpm-3.7.2.195 test/new_relic/load_test.rb
newrelic_rpm-3.7.2.192 test/new_relic/load_test.rb
newrelic_rpm-3.7.2.190.beta test/new_relic/load_test.rb