Update pacemaker config check regexp

Update pacemaker config check regexp
according to actual resource name

Change-Id: I3c33501d173daf3b53c90ea7d5dcead31ac990ec
Closes-Bug: #1365964
This commit is contained in:
Kirill Omelchenko 2014-09-05 15:04:05 +03:00
parent a99b55c367
commit b0fb044459

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(