Explorar o código

Assert etcd section written for HA installs.

Devan Goodwin %!s(int64=9) %!d(string=hai) anos
pai
achega
e838b2d7d5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      utils/test/cli_installer_tests.py

+ 3 - 0
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')