Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[yumpkg] Skip test_pkg_upgrade_has_pending_upgrades if there are no upgrades #36929

Merged
merged 1 commit into from
Oct 11, 2016

Commits on Oct 11, 2016

  1. [yumpkg] Skip test_pkg_upgrade_has_pending_upgrades if there are no u…

    …pgrades
    
    yumpkg.list_upgrades returns an empty dictionary when no upgrades are available.
    We need to check for this situation and skip the test if no upgrades are present.
    
    Fixes the test failure on Fedora 24 on Jenkins currently, but also protects against
    any potential failures for other RHEL-based distros that aren't currently failing
    because "ret" is populated with a dictionary of upgrades.
    rallytime committed Oct 11, 2016
    Configuration menu
    Copy the full SHA
    32829b9 View commit details
    Browse the repository at this point in the history