summaryrefslogtreecommitdiffstats
path: root/utils/test
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-27 10:08:08 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-27 10:08:08 -0400
commite838b2d7d56dcbe70263c61e1e3146854f9115ae (patch)
tree754a139a862ec499c4412476d0c0aa67eced7a88 /utils/test
parent38c76bfacfa1c7b7ff09f0259143385306e9a778 (diff)
downloadopenshift-e838b2d7d56dcbe70263c61e1e3146854f9115ae.tar.gz
openshift-e838b2d7d56dcbe70263c61e1e3146854f9115ae.tar.bz2
openshift-e838b2d7d56dcbe70263c61e1e3146854f9115ae.tar.xz
openshift-e838b2d7d56dcbe70263c61e1e3146854f9115ae.zip
Assert etcd section written for HA installs.
Diffstat (limited to 'utils/test')
-rw-r--r--utils/test/cli_installer_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/test/cli_installer_tests.py b/utils/test/cli_installer_tests.py
index 3cf704cd5..a0fc95c33 100644
--- a/utils/test/cli_installer_tests.py
+++ b/utils/test/cli_installer_tests.py
@@ -718,6 +718,9 @@ class AttendedCliTests(OOCliFixture):
self.assertEquals('False',
inventory.get('nodes', '10.0.0.4 openshift_schedulable'))
+ self.assertTrue(inventory.has_section('etcd'))
+ self.assertEquals(3, len(inventory.items('etcd')))
+
#interactive multimaster: identical masters and nodes
@patch('ooinstall.openshift_ansible.run_main_playbook')
@patch('ooinstall.openshift_ansible.load_system_facts')