fuel-library/deployment/puppet/osnailyfacter/modular/ceilometer/compute_pre.rb
Dmitry Ilyin 79d34b5763 Ceilometer task
* Compute and controller parts
* Fixes typo in openstack-network-compute.pp
* Pre/Post tests require I8769748ae79d5a1597eb0f320e0a0ed9581d5a0b

Related-blueprint: fuel-library-modularization

Change-Id: Id4b44549bf66b7df9034ae2556a2fd4b45f99f29
2015-03-24 12:18:22 +02:00

13 lines
414 B
Ruby

require File.join File.dirname(__FILE__), '../test_common.rb'
class CeilometerComputePreTest < Test::Unit::TestCase
def test_amqp_accessible
host = TestCommon::Settings.amqp_hosts.split(':').first
user = TestCommon::Settings.rabbit['user']
password = TestCommon::Settings.rabbit['password']
assert TestCommon::AMQP.connection?(user, password, host), 'Cannot connect to AMQP server!'
end
end