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

Rename and enable tests for install latest dependencies #1526

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
"""
Loading