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: flaky test on multi referrers #835

Merged
merged 1 commit into from
Feb 27, 2023
Merged

Conversation

qweeah
Copy link
Contributor

@qweeah qweeah commented Feb 27, 2023

What this PR does / why we need it:
This PR fixes a flaky unit test case found in (CI logs).

The case is comparing a referrer array with provided value, which might fail when order of the elements is different. Reduced the length of array to one so the test result is determined.

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@shizhMSFT shizhMSFT merged commit 2c724df into oras-project:main Feb 27, 2023
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.

2 participants