fuel-library/deployment/puppet/osnailyfacter/modular/horizon/horizon_pre.rb
Dmitry Ilyin 4296519bf6 Refactor pre/post modular tests
* Use common library for tests

Related blueprint: fuel-library-modularization
Fuel-CI: disable

Change-Id: I8769748ae79d5a1597eb0f320e0a0ed9581d5a0b
2015-03-24 22:40:32 +03:00

13 lines
419 B
Ruby

require File.join File.dirname(__FILE__), '../test_common.rb'
class HorizonPreTest < Test::Unit::TestCase
def test_memcached_is_running
assert TestCommon::Process.running?('memcached'), 'Memcached is not running!'
end
def test_memcached_on_localhost
ip = TestCommon::Settings.internal_address
assert TestCommon::Network.connection?(ip, 11211), 'Can not connect to memcached on this host!'
end
end