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 PipelineConfigurationFileReaderTest #4386

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

graytaylor0
Copy link
Member

@graytaylor0 graytaylor0 commented Apr 3, 2024

Description

I have noticed the builds failings sometimes in github actions with

PipelineConfigurationFileReaderTest > getPipelineConfigurationInput_streams_from_existing_directory() FAILED
    java.lang.AssertionError at PipelineConfigurationFileReaderTest.java:106

This appears to be due to no guarantee that the List is in a predictable order, which the test assumes. This makes it so that the order of the expected InputStreams does not matter in the test

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link
Member

@dlvenable dlvenable left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

@graytaylor0 graytaylor0 merged commit a501ad7 into opensearch-project:main Apr 3, 2024
45 of 47 checks passed
@graytaylor0 graytaylor0 deleted the ParserTest branch April 3, 2024 17:16
@kkondaka kkondaka added this to the v2.8 milestone May 14, 2024
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.

4 participants