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

Bug 366619

Summary: Test failures in DecoratorsTestSuite on 4.x
Product: [Eclipse Project] Platform Reporter: Oleg Besedin <ob1.eclipse>
Component: UIAssignee: Oleg Besedin <ob1.eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ob1.eclipse, remy.suen
Version: 4.2   
Target Milestone: 4.2 M5   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 366451, 381873    
Attachments:
Description Flags
Failure logs none

Description Oleg Besedin CLA 2011-12-13 15:26:38 EST
Created attachment 208337 [details]
Failure logs

The ExceptionDecoratorTestCase tests fail (testEnableDecorator() and testDisableDecorator()) on teardown with the following error message:

Enabled Bug 41545 Heavy Image
Comment 1 Oleg Besedin CLA 2011-12-14 11:53:53 EST
(In reply to comment #0)
> The ExceptionDecoratorTestCase tests fail (testEnableDecorator() and
> testDisableDecorator()) on teardown with the following error message:

The code is fine, the problem is with the test. It tries to join decorator scheduler job to make sure that test conditions are processed, but we have now (both 4.x and 3.x) multiple scheduler jobs. As a result we might wait for a correct job to finish, for some other job to finish, or not wait at all.
Comment 2 Oleg Besedin CLA 2011-12-14 14:41:59 EST
I did a small change in the ExceptionDecoratorTestCase that should help. If the problem re-surfaces, I'd just disable the test as it depends on the scheduler decorator timing and refresh of the package explorer.
Comment 3 Oleg Besedin CLA 2012-01-31 10:42:07 EST
Verified that tests passed in S-3.8M5-201201251800.