Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365543

Summary: TimerExecScheduler_Test#testSerializationIsThreadSafe failed from time to time
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: 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 CLA 2011-12-05 01:42:03 EST
This test failed for me couple of times in the last week. Now it failed on Hudson build too. Could be related to the changes for bug 364863?
Comment 1 Ralf Sternberg CLA 2011-12-05 05:15:39 EST
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.
Comment 2 RĂ¼diger Herrmann CLA 2011-12-05 07:35:58 EST
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.