| Summary: | DisplaySerialization_Test#testTimerExecIsSerializable fails occasionally | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 1.5 | ||||||
| Target Milestone: | 1.5 M3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ralf Sternberg
I tweaked the timing of the test participants. Changes are in CVS HEAD. Please reopen if the problem reappears. The test still fails on the build server when checking out from HEAD. I'm positive that the build gets the current version. Created attachment 204383 [details]
Proposed fix and test
The exception was caused by concurrent access to the 'tasks' list from the main thread (the one doing the serialization) and the timer thread. The fix was to synchronize access to the 'tasks' list during seriaization. Changes are in CVS HEAD. |