Merge "Update pacemaker config check regexp"

This commit is contained in:
Jenkins 2014-09-08 14:26:29 +00:00 committed by Gerrit Code Review
commit 928949dd9f

View File

@ -364,8 +364,8 @@ class TestHaFailover(TestBasic):
'node {0}'.format(fqdn) in config,
'node {0} exists'.format(fqdn))
assert_not_equal(
re.search('primitive (openstack-)?heat-engine', config), None,
'heat engine')
re.search('primitive p_(openstack-)?heat-engine', config),
None, 'heat engine')
assert_true('primitive p_haproxy' in config, 'haproxy')
assert_true('primitive p_mysql' in config, 'mysql')
assert_true(