| Summary: | TimerExecScheduler_Test#testSerializationIsThreadSafe failed from time to time | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ivan Furnadjiev <ivan> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ruediger.herrmann |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Ivan Furnadjiev
This tests always fails for me when running the tycho build locally. I don't see it in the Junit tests started from the IDE. The test setup was nonsense. It ran several threads in parallel that added tasks to and serialized one and the same scheduler in each thread. Serializing however, is not meant to be thread safe. What should be tested is: several threads add and remove tasks while *one* thread serializes the scheduler. Changed the test accordingly. Please reopen if you see the test fail again. |