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

Fix TestOCI1IndexChooseInstanceByCompression on non-amd64 #2043

Merged
merged 2 commits into from
Jul 18, 2023

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Jul 15, 2023

Setting SystemContext.ArchitectureChoice to "" does not mean "match any/the first platform"; it's the default behavior of SystemContext, and it means "choose for the current runtime architecture". (Originally discussed in #1789 (comment) )

I.e. on amd64 these two test cases are redundant with the first two instances above, and on other architectures (notably ARM) they cause failures.

So just drop them.

@mtrmac mtrmac added the kind/bug A defect in an existing functionality (or a PR fixing it) label Jul 15, 2023
Setting SystemContext.ArchitectureChoice to "" does not mean "match any/the first platform";
it's the default behavior of SystemContext, and it means "choose for the current runtime
architecture". (Originally discussed in
containers#1789 (comment) )

I.e. on amd64 these two test cases are redundant with the first two instances above,
and on other architectures (notably ARM) they cause failures.

So just drop them.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TomSweeneyRedHat
Copy link
Member

LGTM

@mtrmac mtrmac merged commit c706174 into containers:main Jul 18, 2023
@mtrmac mtrmac deleted the aarch64-tests branch July 18, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A defect in an existing functionality (or a PR fixing it)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants