![Dmitry Ilyin](/assets/img/avatar_default.png)
* Cleanup and refactor of virtual_ips task * Ping public vip resource moved to post_deploy * Noop and functional tests Change-Id: I9a11f6473d1b9ec94f99764419a4f0fc2534a99e Closes-Bug: 1391773
21 lines
686 B
Ruby
21 lines
686 B
Ruby
require File.join File.dirname(__FILE__), '../test_common.rb'
|
|
|
|
class PublicVipPingPostTest < Test::Unit::TestCase
|
|
|
|
def has_public?
|
|
TestCommon::Settings.lookup 'public_vip'
|
|
end
|
|
|
|
def test_ping_resource_started
|
|
return unless has_public?
|
|
assert TestCommon::Pacemaker.primitive_started?('ping_vip__public'), 'ping_vip__public is not started!'
|
|
end
|
|
|
|
def test_paceamaker_public_vips
|
|
return unless has_public?
|
|
assert TestCommon::Pacemaker.primitive_started?('vip__public'), 'vip__public Pacemaker service is not started!'
|
|
assert TestCommon::Pacemaker.primitive_started?('vip__public_vrouter'), 'vip__public_vrouter Pacemaker service is not started!'
|
|
end
|
|
|
|
end
|