Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] Update the test_db_migrate. #9524

Merged
merged 6 commits into from
Jan 31, 2020
Merged

[1LP][RFR] Update the test_db_migrate. #9524

merged 6 commits into from
Jan 31, 2020

Commits on Jan 30, 2020

  1. Add DB with encrypted ansible creds.

    Jaroslav Henner committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    7483c13 View commit details
    Browse the repository at this point in the history
  2. Add guessing of the db format

    Jaroslav Henner committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    2e58e87 View commit details
    Browse the repository at this point in the history
  3. Make the upgrades from CFME 5.5 conditional.

    as they are not supported when upgrading to CFME 5.10 and higher
    Jaroslav Henner committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    5741bf2 View commit details
    Browse the repository at this point in the history
  4. Invalidate the rest_api cache in appliance

    This will resolve a problem in here:
    
        @Property
        def _rest_api_server(self):
            shref = self.appliance.rest_api.server_info['server_href']
            logger.info(f'server_href: {shref}')
            results = self.appliance.rest_api.collections.servers.all
            logger.info(f'all servers: {results}')
    >       server, = (r for r in results if r.href == shref)
    E       ValueError: not enough values to unpack (expected 1, got 0)
    Jaroslav Henner committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    9730ebf View commit details
    Browse the repository at this point in the history
  5. Use the database.yml if available.

    Jaroslav Henner committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    f807080 View commit details
    Browse the repository at this point in the history
  6. Mark test_db_migrate as automating 1755553

    Jaroslav Henner committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    f8b2a50 View commit details
    Browse the repository at this point in the history