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

[BUG] org.opensearch.common.blobstore.stream.read.listener.ReadContextListenerTests.testReadContextListenerFailure is flaky #9776

Closed
harishbhakuni opened this issue Sep 5, 2023 · 1 comment · Fixed by #9915
Assignees
Labels
bug Something isn't working Storage Issues and PRs relating to data and metadata storage

Comments

@harishbhakuni
Copy link
Contributor

Describe the bug
org.opensearch.common.blobstore.stream.read.listener.ReadContextListenerTests.testReadContextListenerFailure is flaky.

https://build.ci.opensearch.org/job/gradle-check/24473/testReport/junit/org.opensearch.common.blobstore.stream.read.listener/ReadContextListenerTests/testReadContextListenerFailure/

To Reproduce

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.common.blobstore.stream.read.listener.ReadContextListenerTests.testReadContextListenerFailure" -Dtests.seed=5673BC5FFAEF5B76 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-YE -Dtests.timezone=America/Indiana/Knox -Druntime.java=17

Expected behavior
Test should always pass.

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@psychbot
Copy link
Member

psychbot commented Sep 6, 2023

This assert statement assertFalse(Files.exists(fileLocation)) seems flaky, Putting it inside assertBusy to fail only after the assertBusy completes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Storage Issues and PRs relating to data and metadata storage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants