-
Notifications
You must be signed in to change notification settings - Fork 11
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: Concurrency Issue with Environment Information File Lock #275
Comments
Additional Info: here is the stacktrace happening when this bug kicks in. java.lang.NullPointerException: Cannot invoke "java.nio.channels.FileLock.release()" because "lock" is null |
…viroment_Info #275 concurrency issue with enviroment info
Quick Description
When adding the environment information we use a file lock, to ensure flawless concurrent access. This however has a bug when parallel file access is performed.
Actual Behaviour
If there are parallel test runs, the file lock might be null, which leads to a breaking test case. Also data might be overwritten currently.
Expected Behaviour
If there are parallel test runs, the environment information from both runs will be added but no duplicates are written.
Tasks
The text was updated successfully, but these errors were encountered: