| Summary: | Test execution randomly fails with IOExcpetion | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Martin Fluegge <martin.fluegge> | ||||||
| Component: | cdo.core | Assignee: | Martin Fluegge <martin.fluegge> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | minor | ||||||||
| Priority: | P3 | Flags: | stepper:
review-
|
||||||
| Version: | 4.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Martin Fluegge
Created attachment 183028 [details]
Patch v1
I attached a fix for the problem.
Eike, I remember that we had a more complex fix for this issue but it is somehow lost. I also remember that I had some random deadlocks on the other solution. This one works...by now ;)
If oyu like we can have another look at this topic.
Committed to HEAD. The problem still exists, so I re-open this one. Created attachment 187380 [details]
Patch v2
I suggest to protect any call of "createTempFolder()" with an additional time suffix. This definitively avoids the conflicts.
Eike, what do you think about this?
After discussion with Eike it seems that the TMPUtil.createTempFolder() should be changed to use an own method for creating temp folders instead of using the current approach. I'll see that I write such mechanism. Thanks ;-) Is this issue resolved? I am afraid not. Please reopen if the problem can be reproduced or you have a fix that helps you and does not harm others ;-) Closing. |