Skip to content

Commit

Permalink
Rename and enable tests for install latest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kontura authored and evan-goode committed Aug 7, 2024
1 parent a804581 commit 6e76572
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
@dnf5
Feature: Always use the latest packages even for dependecies
Feature: Always use the latest packages when installing dependecies


# The focusbest behavior has been reverted.
# It might become an option in the future.
@xfail
Scenario: prefer installing latests dependencies rather than smaller transaction
Given I use repository "focusbest"
Given I use repository "install-latest-deps"
And I successfully execute dnf with args "install krb5-libs-1.0"
When I execute dnf with args "install ipa-client"
Then the exit code is 0
Expand All @@ -17,12 +14,12 @@ Scenario: prefer installing latests dependencies rather than smaller transaction
| upgrade | krb5-libs-0:2.0-1.fc29.x86_64 |
And stderr is
"""
Warning: skipped PGP checks for 3 packages from repository: focusbest
Warning: skipped PGP checks for 3 packages from repository: install-latest-deps
"""


Scenario: if latests dependencies are not possible to install fall back to lower versions without errors
Given I use repository "focusbest"
Given I use repository "install-latest-deps"
And I successfully execute dnf with args "install krb5-libs-1.0"
When I execute dnf with args "install ipa-client -x krb5-libs-2.0"
Then the exit code is 0
Expand All @@ -32,5 +29,5 @@ Scenario: if latests dependencies are not possible to install fall back to lower
| install-dep | krb5-pkinit-0:1.0-1.fc29.x86_64 |
And stderr is
"""
Warning: skipped PGP checks for 2 packages from repository: focusbest
Warning: skipped PGP checks for 2 packages from repository: install-latest-deps
"""

0 comments on commit 6e76572

Please sign in to comment.