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

Replace assert by map_grow #1646

Merged

Conversation

j-mracek
Copy link
Contributor

@j-mracek j-mracek commented Mar 6, 2024

It will make code prepared for situation when number of solvables is increased after query is created and applied.

The issue can be easilly triggered by adding remote RPMs therefore the patch fixes a standard situation

Resolves: https://issues.redhat.com/browse/RHEL-27657

It will make code prepared for situation when number of solvables
is increased after query is created and applied.

The issue can be easilly triggered by adding remote RPMs therefore
the patch fixes a standard situation

Resolves: https://issues.redhat.com/browse/RHEL-27657
@m-blaha
Copy link
Member

m-blaha commented Mar 6, 2024

The code looks good.
Is the installonly tests failure result of the libsolv upgrade?
It should be possible to create a test case in dnf/api/package-query.feature for this issue.

@m-blaha m-blaha self-assigned this Mar 6, 2024
@kontura
Copy link
Contributor

kontura commented Mar 6, 2024

Is the installonly tests failure result of the libsolv upgrade?

Yes, I have a PR to fix also the dnf-4-stack branch: rpm-software-management/ci-dnf-stack#1452

@j-mracek
Copy link
Contributor Author

j-mracek commented Mar 6, 2024

This PR cannot modify any result of our CI - I already discussed possibility of CI test with our QE and there is only one option - beaker and Eva agreed that she will provide it. API test are supported only for DNF5 branch. The issue is not reproducible with DNF5.

@m-blaha
Copy link
Member

m-blaha commented Mar 6, 2024

@j-mracek Oh, I see. We are good to go then.

@m-blaha m-blaha merged commit ef8ac7f into rpm-software-management:dnf-4-master Mar 6, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants