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

Synchronize on saveMonitor until output is closed and done #567

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

tjwatson
Copy link
Contributor

No description provided.

Some versions of Java will throw INvcationTargetExceptoin from
the newInstance call on Constructor instead of the original
NoClassDefFoundError we expect in the test. This change allows
for that by checking the exception cause for NoClassDefFoundError.
The persistent files are not finalized until we close the
output stream to allow the ManagedOutputStream to get everything
safely persisted into the final location on disk. We should
protect multiple threads from trying to do this final step
in persisting like we do for all the writes to the output
stream.
Copy link

Test Results

   28 files  ±0     28 suites  ±0   11m 16s ⏱️ -47s
2 170 tests ±0  2 124 ✅ ±0  46 💤 ±0  0 ❌ ±0 
2 242 runs  ±0  2 196 ✅ ±0  46 💤 ±0  0 ❌ ±0 

Results for commit af69dde. ± Comparison against base commit a90c944.

@tjwatson tjwatson merged commit d732566 into eclipse-equinox:master Mar 28, 2024
27 of 28 checks passed
@tjwatson tjwatson deleted the storageSyncFix branch March 28, 2024 13:44
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.

1 participant