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

Flaky test in CrossStreamingSpec #192

Closed
Ostrzyciel opened this issue Oct 22, 2024 · 2 comments
Closed

Flaky test in CrossStreamingSpec #192

Ostrzyciel opened this issue Oct 22, 2024 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Ostrzyciel
Copy link
Member

I've seen this pop up once on my machine and once in the CI: https://github.com/Jelly-RDF/jelly-jvm/actions/runs/11468722668/job/31914444656

Not sure what's happening. I don't this this is related to #190, we are correctly initializing Jena there.

@Ostrzyciel Ostrzyciel added the bug Something isn't working label Oct 22, 2024
@Ostrzyciel Ostrzyciel added this to the 2.2.0 milestone Oct 22, 2024
@Ostrzyciel Ostrzyciel self-assigned this Oct 26, 2024
@Ostrzyciel
Copy link
Member Author

It's a race condition in Jena: apache/jena#2795

I've submitted a PR to fix it.

In the meantime, we can try adding some synchronization block around graph parsing.

@Ostrzyciel
Copy link
Member Author

Hmmm, I'm not even sure where to place the synchronization block. I would have to redesign the test to ensure sequential execution.

As this doesn't pop up that often I think we can just retry tests until a new Jena release that fixes it.

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant