summaryrefslogtreecommitdiff
path: root/utils/test
AgeCommit message (Collapse)Author
2018-02-07quick installer: disable broken test_get_hosts_to_run_on6 testVadim Rutkovsky
2018-02-07Quick installer: run prerequistes first and update path to main playbookVadim Rutkovsky
2018-01-04Fix flake8 errors in utils/testVadim Rutkovsky
2017-03-06Remove commented-out test codeRodolfo Carvalho
2017-03-06Remove old commented-out testsRodolfo Carvalho
2017-03-06Fix testRodolfo Carvalho
Instead of checking if a string is True, check if 'found' is True, the string is the error message. Also, we can remove the loop and use the simpler Python 'in' construct.
2017-03-06Lint utils/testRodolfo Carvalho
- Do not use `print` in unit tests, send messages through the test framework instead. - Remove unused import. - Add spaces around equal sign in assigment. - Turn method into a function. - Reorganize imports according to PEP8.
2017-01-11cleanup: Removed debug prints from testsSteve Milner
2017-01-10remove debug statement from testJason DeTiberus
2017-01-10increase test coverageJason DeTiberus
2017-01-10add test for utils to bump coverageJason DeTiberus
2016-12-20python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus
versions
2016-11-04Add some tests for utils to get the coverage up.Tim Bielawa
2016-10-21Merge pull request #2639 from tbielawa/test-utils-debuggingAndrew Butcher
Unit tests for the debug_env logger thing
2016-10-21Unit tests for the debug_env logger thingTim Bielawa
2016-10-20a-o-i: Separate install and scaleup workflowsSamuel Munilla
In order to simplify the quick installer logic, this moves the scaleup workflow into its own subcommand. Fixes: Bug 1339621
2016-09-30a-o-i: Fix openshift_node_labelsSamuel Munilla
Handle openshift_node_labels separately because they need to be doublequoted.
2016-09-29'fix' unittests by removing the users ability to specify an ansible configTim Bielawa
2016-08-19a-o-i: Remove Legacy Config UpgradeSamuel Munilla
Remove the automatic upgrade of the 3.0 configuration file format and add some better error messaging that points the user at the docs.
2016-08-19Bug 1358951 - Error loading config, no such key: 'deployment' when using ↵Samuel Munilla
previously valid answers file Update the quick installer to automatically convert from the old config file format to the new format.
2016-08-17Merge pull request #2303 from tpoitras/typos-cli_installer.pyScott Dodson
Edits to fix to typos, grammar, and product branding in cli_installer
2016-08-17Fixes to typos, grammar, and product branding in cli_installerTimothy Poitras
2016-08-16a-o-i: Fix nosetests after removing 3.2 from installerSamuel Munilla
Update the tests to match 3.3 being the only version. Add support for non-latest if it's specified in the config file.
2016-08-15a-o-i: Fix broken tests from installed hosts checkSamuel Munilla
With the latest changes to behavior around uninstalled hosts during a scaleup, nosetests were broken. This updates the tests to verify that we exit when we are expecting.
2016-08-09a-o-i: Update nosetests for ansible_ssh_userSamuel Munilla
Update the nosetests to reflect the new location of ansible_ssh_user in the config file.
2016-07-30a-o-i: Remove AEP, OSE 3.0, and OSE 3.2 choicesSamuel Munilla
Remove the option to select unsupported versions in the quick installer. Fixes BZ#1358101
2016-07-29a-o-i: Better inventory group handlingSamuel Munilla
A more dynamic and flexible method of writing out host groups to the ansible inventory file. To accompany this, in the quick-installer interactive mode the etcd role is automatically applied to any masters. Anyone hand writing the quick installer config will now have to explicitly specify which hosts will be etcd. Fixes #2200
2016-07-18Arbitrary Installer yamlSamuel Munilla
Initial build of new, more flexible installer config file format.
2016-04-28a-o-i: More friendly proxy questionsSamuel Munilla
Some UI improvements to help make it more clear to the user what information we are looking for.
2016-04-26a-o-i tests: Update attended tests for proxySamuel Munilla
Update the input to account for the new questions around proxies.
2016-04-18a-o-i: Don't assume storage on 1st masterSamuel Munilla
Always prompt the user for a storage host. The prompt defaults to the first master and warns the user not to use a container-based installation for this. WIP
2016-04-05Merge pull request #1654 from dgoodwin/gen-inventoryBrenton Leanhardt
Add --gen-inventory command to atomic-openshift-installer.
2016-03-24Write inventory to same directory as quick install config.Devan Goodwin
With the addition of a --gen-inventory flag and always displaying the location of the inventory written to disk, we should write the hosts file to a more prominent location rather than a hidden directory.
2016-03-24Add --gen-inventory command to atomic-openshift-installer.Devan Goodwin
This will just generate the Ansible inventory once all information is gathered, inform the user where to find it, and exit. Includes some test utility updates to make what broke as a result of this change less fragile.
2016-03-23a-o-i: Add 3.2 to list of supported versionsSamuel Munilla
2016-03-09a-o-i: Fix NFS storage testsSamuel Munilla
Fix the nosetests after the rebase
2016-02-02aoi: Ask for osm_default_subdomain in interactive modeSamuel Munilla
Add a question to ask the user for a default subdomain.
2016-01-12Add is_containerized inputs to nosetests.Andrew Butcher
2015-12-16quick installer testsSamuel Munilla
Add test for not displaying HA hints for 3.0 installs
2015-12-08Bug 1287977 - Incorrect check output from atomic-openshift-installer when ↵Brenton Leanhardt
working with preconfigured load balancer
2015-12-01Cleanup more schedulable typos.Devan Goodwin
2015-12-01Merge branch 'master' into loadbalanced-2Devan Goodwin
2015-11-30Error out if no load balancer specified.Devan Goodwin
2015-11-30Adjust requirement for 3 masters for HA deployments.Devan Goodwin
If only 2 masters are specified, consider this a configuration error if running an unattended install, and prevent it completely if running an attended install. (continues to prompt for hosts until you have at least 3) Because this condition cannot be entered in the interactive install, we can't really write a test for this negative case.
2015-11-30Fixing 'unscheduleable' typoBrenton Leanhardt
2015-11-27Assert etcd section written for HA installs.Devan Goodwin
2015-11-26Breakout a test fixture to reduce module size.Devan Goodwin
2015-11-26Pylint touchups.Devan Goodwin
2015-11-26Trim assertions in HA testing.Devan Goodwin
We're asserting the same things in loading facts over and over, which is not what these tests are really intended to catch. This behavior is tested elsewhere.
2015-11-26Test unattended HA quick install.Devan Goodwin
Checking behavior when there is no LB specified, and when the user attempts to re-use a master or node as their LB.