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:
parent
a99b55c367
commit
b0fb044459
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user