dffbabcdc7
Setting the following in functional_creds.conf doesn't have any effect for failed functional container tests: copy_logs = False Description of changes/issues addressed: - Client functional tests look in functional_creds.conf for the copy_logs setting while tempest/api tests look in tempest.conf. So an accessor method 'get_copy_logs' is added for BaseMagnumTest (for tempest tests), and this gets overridden by BaseMagnumClient. - Call to lamda was missing an argument in copy_logs_handler. - set_copy_logs in config.py was setting cls.copy logs inconsistently (sometimes boolean True, otherwise to a string). - BaseMagnumClient was calling bool() on a string: "bool(copy_logs)". bool() on a string always returns True except for null string. Change-Id: I234fd0433602914fdf03f04f2394f6dc802df4fd Closes-Bug: #1570949 |
||
---|---|---|
.. | ||
api | ||
common | ||
k8s | ||
mesos | ||
swarm | ||
tempest_tests | ||
__init__.py | ||
python_client_base.py |